WSFederationSerializer Class
Provides methods to convert a WS-Federation message to RequestSecurityToken and RequestSecurityTokenResponse objects, which are WS-Trust protocol specific.
Assembly: System.IdentityModel.Services (in System.IdentityModel.Services.dll)
| Name | Description | |
|---|---|---|
![]() | WSFederationSerializer() | Initializes a new instance of the WSFederationSerializer class. |
![]() | WSFederationSerializer(WSTrustRequestSerializer^, WSTrustResponseSerializer^) | Initializes a new instance of the WSFederationSerializer class with the specified request and response serializers. |
![]() | WSFederationSerializer(XmlDictionaryReader^) | Initializes a new instance of the WSFederationSerializer class based on the namespace of the response XML. |
| Name | Description | |
|---|---|---|
![]() | CanReadRequest(String^) | Checks whether the specified string is a wst:RequestSecurityToken message with a namespace that is recognized by the wrapped WSTrustRequestSerializer. |
![]() | CanReadResponse(String^) | Checks whether the specified string is a wst:RequestSecurityTokenResponse message with a namespace that is recognized by the wrapped WSTrustResponseSerializer. |
![]() | CreateRequest(FederationMessage^, WSTrustSerializationContext^) | Converts a WS-Federation Sign-In Request message to a RequestSecurityToken object that the security token service (the SecurityTokenService class) can consume. |
![]() | CreateResponse(FederationMessage^, WSTrustSerializationContext^) | Converts a WS-Federation Sign-In Response message object to a RequestSecurityTokenResponse object. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetReferencedRequest(String^) | Gets the wreq string from a referenced URL. |
![]() | GetReferencedResult(String^) | Gets the wresult string from a referenced URL. |
![]() | GetRequestAsString(RequestSecurityToken^, WSTrustSerializationContext^) | Serializes the specified RequestSecurityToken object into a string. |
![]() | GetResponseAsString(RequestSecurityTokenResponse^, WSTrustSerializationContext^) | Serializes the specified RequestSecurityTokenResponse object into a string. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Available since 4.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

