WSFederationSerializer Class

.NET Framework (current version)
 

Provides methods to convert a WS-Federation message to RequestSecurityToken and RequestSecurityTokenResponse objects, which are WS-Trust protocol specific.

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

System.Object
  System.IdentityModel.Services.WSFederationSerializer

public class WSFederationSerializer

NameDescription
System_CAPS_pubmethodWSFederationSerializer()

Initializes a new instance of the WSFederationSerializer class.

System_CAPS_pubmethodWSFederationSerializer(WSTrustRequestSerializer, WSTrustResponseSerializer)

Initializes a new instance of the WSFederationSerializer class with the specified request and response serializers.

System_CAPS_pubmethodWSFederationSerializer(XmlDictionaryReader)

Initializes a new instance of the WSFederationSerializer class based on the namespace of the response XML.

NameDescription
System_CAPS_pubmethodCanReadRequest(String)

Checks whether the specified string is a wst:RequestSecurityToken message with a namespace that is recognized by the wrapped WSTrustRequestSerializer.

System_CAPS_pubmethodCanReadResponse(String)

Checks whether the specified string is a wst:RequestSecurityTokenResponse message with a namespace that is recognized by the wrapped WSTrustResponseSerializer.

System_CAPS_pubmethodCreateRequest(FederationMessage, WSTrustSerializationContext)

Converts a WS-Federation Sign-In Request message to a RequestSecurityToken object that the security token service (the SecurityTokenService class) can consume.

System_CAPS_pubmethodCreateResponse(FederationMessage, WSTrustSerializationContext)

Converts a WS-Federation Sign-In Response message object to a RequestSecurityTokenResponse object.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetReferencedRequest(String)

Gets the wreq string from a referenced URL.

System_CAPS_pubmethodGetReferencedResult(String)

Gets the wresult string from a referenced URL.

System_CAPS_pubmethodGetRequestAsString(RequestSecurityToken, WSTrustSerializationContext)

Serializes the specified RequestSecurityToken object into a string.

System_CAPS_pubmethodGetResponseAsString(RequestSecurityTokenResponse, WSTrustSerializationContext)

Serializes the specified RequestSecurityTokenResponse object into a string.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
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.

Return to top
Show: