WSFederationMessage Members
[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]
Defines the base class from which all WS-Federation messages classes derive.
The following tables list the members exposed by the WSFederationMessage type.
Protected Constructors
Name | Description | |
---|---|---|
WSFederationMessage | Initializes an instance of the WSFederationMessage class. |
Top
Public Properties
Name | Description | |
---|---|---|
Action | Gets or sets the wa parameter of the message. | |
BaseUri | Gets or sets the base URL to which the message applies. | |
Context | Gets or sets the wctx parameter of the message. | |
Encoding | Gets or sets the wencoding parameter of the message. | |
Parameters | Gets the message parameters as a dictionary. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
CreateFromFormPost | Helper method to create a WS-Federation message from a Form Post received in the HttpRequest. | |
CreateFromNameValueCollection | Creates a WS-Federation message from a NameValueCollection of parameters. | |
CreateFromUri | Helper method to create a WS-Federation message from a URI. The parameters are assumed to be specified in the query string. | |
Equals | (Inherited from Object) | |
GetBaseUrl | Helper method that extracts the base URL for a specified Uri. | |
GetHashCode | (Inherited from Object) | |
GetParameter | Returns the specified parameter value from the parameters dictionary. | |
GetType | (Inherited from Object) | |
ParseQueryString | Helper method to parse the query string in the specified URI into a NameValueCollection. | |
RemoveParameter | Removes a parameter from the parameters dictionary. | |
SetParameter | Sets the value of a parameter in the parameters dictionary. | |
SetUriParameter | Sets the value of a parameter in the parameters dictionary. The value must be an absolute URI. | |
ToString | (Inherited from Object) | |
TryCreateFromUri | Helper method to create a WS-Federation message from a URI. The parameters are assumed to be specified as a query string. | |
Write | Writes the message to the output stream. Abstract method that all implementations of the WSFederationMessage class override. | |
WriteFormPost | Serializes the message as a Form Post and returns the resulting Form together with its javascript as a string. | |
WriteQueryString | Returns a query string created from the message parameters. |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object) | |
MemberwiseClone | (Inherited from Object) | |
Validate | Validates the message. |
Top
See Also
Reference
WSFederationMessage Class
Microsoft.IdentityModel.Protocols.WSFederation Namespace
Copyright © 2008 by Microsoft Corporation. All rights reserved.