Edit

Share via


SignInRequestMessage.Validate Method

Definition

Validates the current instance.

protected:
 override void Validate();
protected override void Validate ();
override this.Validate : unit -> unit
Protected Overrides Sub Validate ()

Exceptions

The wa parameter (the Action property) is not set to "wsignin1.0".

Neither the wtrealm parameter nor the wreply parameter is present. (The Realm property and the Reply property are null or empty.)

-or-

Both the wreq parameter and the wreqptr parameter are present. (The Request property and the RequestPtr property are both set.)

Remarks

Important

For backward compatibility with Active Directory Federation Services (AD FS) version 1.0, Windows Identity Foundation (WIF) allows either the wtrealm parameter or the wreply parameter to be set (or both) for a sign-in message to be valid; however, the WS-Federation protocol requires that the wtrealm parameter be present in a sign-in request. In most scenarios, you should ensure that the wtrealm parameter is specified.

Applies to