WSFederationSerializer WSFederationSerializer WSFederationSerializer WSFederationSerializer Class

Definition

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

public ref class WSFederationSerializer
public class WSFederationSerializer
type WSFederationSerializer = class
Public Class WSFederationSerializer
Inheritance
WSFederationSerializerWSFederationSerializerWSFederationSerializerWSFederationSerializer

Constructors

WSFederationSerializer() WSFederationSerializer() WSFederationSerializer() WSFederationSerializer()

Initializes a new instance of the WSFederationSerializer class.

WSFederationSerializer(WSTrustRequestSerializer, WSTrustResponseSerializer) WSFederationSerializer(WSTrustRequestSerializer, WSTrustResponseSerializer) WSFederationSerializer(WSTrustRequestSerializer, WSTrustResponseSerializer) WSFederationSerializer(WSTrustRequestSerializer, WSTrustResponseSerializer)

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

WSFederationSerializer(XmlDictionaryReader) WSFederationSerializer(XmlDictionaryReader) WSFederationSerializer(XmlDictionaryReader) WSFederationSerializer(XmlDictionaryReader)

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

Methods

CanReadRequest(String) CanReadRequest(String) CanReadRequest(String) CanReadRequest(String)

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

CanReadResponse(String) CanReadResponse(String) CanReadResponse(String) 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) CreateRequest(FederationMessage, WSTrustSerializationContext) CreateRequest(FederationMessage, WSTrustSerializationContext) 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) CreateResponse(FederationMessage, WSTrustSerializationContext) CreateResponse(FederationMessage, WSTrustSerializationContext) CreateResponse(FederationMessage, WSTrustSerializationContext)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetReferencedRequest(String) GetReferencedRequest(String) GetReferencedRequest(String) GetReferencedRequest(String)

Gets the wreq string from a referenced URL.

GetReferencedResult(String) GetReferencedResult(String) GetReferencedResult(String) GetReferencedResult(String)

Gets the wresult string from a referenced URL.

GetRequestAsString(RequestSecurityToken, WSTrustSerializationContext) GetRequestAsString(RequestSecurityToken, WSTrustSerializationContext) GetRequestAsString(RequestSecurityToken, WSTrustSerializationContext) GetRequestAsString(RequestSecurityToken, WSTrustSerializationContext)

Serializes the specified RequestSecurityToken object into a string.

GetResponseAsString(RequestSecurityTokenResponse, WSTrustSerializationContext) GetResponseAsString(RequestSecurityTokenResponse, WSTrustSerializationContext) GetResponseAsString(RequestSecurityTokenResponse, WSTrustSerializationContext) GetResponseAsString(RequestSecurityTokenResponse, WSTrustSerializationContext)

Serializes the specified RequestSecurityTokenResponse object into a string.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to