Compartir a través de


WsFederationMessage Class

Definition

Provides access to common WsFederation message parameters.

public class WsFederationMessage : Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage
type WsFederationMessage = class
    inherit AuthenticationProtocolMessage
Public Class WsFederationMessage
Inherits AuthenticationProtocolMessage
Inheritance

Constructors

WsFederationMessage()

Initializes a new instance of the WsFederationMessage class.

WsFederationMessage(IEnumerable<KeyValuePair<String,String[]>>)

Initializes a new instance of the WsFederationMessage class.

WsFederationMessage(WsFederationMessage)

Initializes a new instance of the WsFederationMessage class.

Properties

IsSignInMessage

Gets a boolean representing if the WsFederationMessage is a 'sign-in-message'.

IsSignOutMessage

Gets a boolean representing if the WsFederationMessage is a 'sign-out-message'.

IssuerAddress

Gets or sets the issuer address.

(Inherited from AuthenticationProtocolMessage)
Parameters

Gets the message parameters as a Dictionary.

(Inherited from AuthenticationProtocolMessage)
PostTitle

Gets or sets the title used when constructing the post string.

(Inherited from AuthenticationProtocolMessage)
Script

Gets the script used when constructing the post string.

(Inherited from AuthenticationProtocolMessage)
ScriptButtonText

Gets or sets the script button text used when constructing the post string.

(Inherited from AuthenticationProtocolMessage)
ScriptDisabledText

Gets or sets the text used when constructing the post string that will be displayed to used if script is disabled.

(Inherited from AuthenticationProtocolMessage)
Wa

Gets or sets 'wa'.

Wattr

Gets or sets 'wattr'.

Wattrptr

Gets or sets 'wattrptr'.

Wauth

Gets or sets 'wauth'.

Wct

Gets or sets 'wct'.

Wctx

Gets or sets 'wctx'.

Wencoding

Gets or sets 'wencoding'.

Wfed

Gets or sets 'wfed'.

Wfresh

Gets or sets 'wfresh'.

Whr

Gets or sets 'whr'.

Wp

Gets or sets 'wp'.

Wpseudo

Gets or sets 'wpseudo'.

Wpseudoptr

Gets or sets 'wpseudoptr'.

Wreply

Gets or sets 'wreply'.

Wreq

Gets or sets 'wreq'.

Wreqptr

Gets or sets 'wreqptr'.

Wres

Gets or sets 'wres'.

Wresult

Gets or sets 'wresult'.

Wresultptr

Gets or sets 'wresultptr'.

Wtrealm

Gets or sets 'wtrealm'.

Methods

BuildFormPost()

Builds a form post using the current IssuerAddress and the parameters that have been set.

(Inherited from AuthenticationProtocolMessage)
BuildRedirectUrl()

Builds a URL using the current IssuerAddress and the parameters that have been set.

(Inherited from AuthenticationProtocolMessage)
CreateSignInUrl()

Creates a 'wsignin1.0' message using the current contents of this WsFederationMessage.

CreateSignOutUrl()

Creates a 'wsignout1.0' message using the current contents of this WsFederationMessage.

FromQueryString(String)

Creates a WsFederationMessage from the contents of a query string.

FromUri(Uri)

Creates a WsFederationMessage from the contents of a Uri.

GetParameter(String)

Returns a parameter.

(Inherited from AuthenticationProtocolMessage)
GetToken()

Reads the 'wresult' and returns the embedded security token.

GetTokenUsingXmlReader()

Reads the 'wresult' and returns the embedded security token.

RemoveParameter(String)

Removes a parameter.

(Inherited from AuthenticationProtocolMessage)
SetParameter(String, String)

Sets a parameter to the Parameters Dictionary.

(Inherited from AuthenticationProtocolMessage)
SetParameters(NameValueCollection)

Sets a collection parameters.

(Inherited from AuthenticationProtocolMessage)

Applies to