WSFederationSerializer Classe

Definição

Fornece métodos para converter uma mensagem Web Services Federation em objetos RequestSecurityToken e RequestSecurityTokenResponse específicos do protocolo WS-Trust.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
Herança
WSFederationSerializer

Construtores

WSFederationSerializer()

Inicializa uma nova instância da classe WSFederationSerializer.Initializes a new instance of the WSFederationSerializer class.

WSFederationSerializer(WSTrustRequestSerializer, WSTrustResponseSerializer)

Inicializa uma nova instância da classe WSFederationSerializer com os serializadores de solicitação e resposta especificados.Initializes a new instance of the WSFederationSerializer class with the specified request and response serializers.

WSFederationSerializer(XmlDictionaryReader)

Inicializa uma nova instância da classe WSFederationSerializer com base no namespace do XML de resposta.Initializes a new instance of the WSFederationSerializer class based on the namespace of the response XML.

Métodos

CanReadRequest(String)

Verifica se a cadeia de caracteres especificada é uma mensagem de wst:RequestSecurityToken com um namespace reconhecido pelo WSTrustRequestSerializer encapsulado.Checks whether the specified string is a wst:RequestSecurityToken message with a namespace that is recognized by the wrapped WSTrustRequestSerializer.

CanReadResponse(String)

Verifica se a cadeia de caracteres especificada é uma mensagem de wst:RequestSecurityTokenResponse com um namespace reconhecido pelo WSTrustResponseSerializer encapsulado.Checks whether the specified string is a wst:RequestSecurityTokenResponse message with a namespace that is recognized by the wrapped WSTrustResponseSerializer.

CreateRequest(FederationMessage, WSTrustSerializationContext)

Converte uma mensagem de Solicitação de Conexão da Web Services Federation para um objeto RequestSecurityToken que o serviço de token de segurança (a classe SecurityTokenService) pode consumir.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)

Converte um objeto de mensagem de Resposta de Conexão da Web Services Federation em um objeto RequestSecurityTokenResponse.Converts a WS-Federation Sign-In Response message object to a RequestSecurityTokenResponse object.

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetReferencedRequest(String)

Obtém a cadeia de caracteres wreq de uma URL de referência.Gets the wreq string from a referenced URL.

GetReferencedResult(String)

Obtém a cadeia de caracteres wresult de uma URL de referência.Gets the wresult string from a referenced URL.

GetRequestAsString(RequestSecurityToken, WSTrustSerializationContext)

Serializa o objeto RequestSecurityToken especificado em uma cadeia de caracteres.Serializes the specified RequestSecurityToken object into a string.

GetResponseAsString(RequestSecurityTokenResponse, WSTrustSerializationContext)

Serializa o objeto RequestSecurityTokenResponse especificado em uma cadeia de caracteres.Serializes the specified RequestSecurityTokenResponse object into a string.

GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a