Compartir a través de


WSFederationAuthenticationModule.GetXmlTokenFromMessage (Método, (SignInResponseMessage, WSFederationSerializer))

Extract the issued token from the WS-Federation Passive Protocol SignIn Response message received from an STS.

Espacio de nombres: Microsoft.IdentityModel.Web
Ensamblado: Microsoft.IdentityModel (en microsoft.identitymodel.dll)

Uso

    Dim instance As WSFederationAuthenticationModule
Dim message As SignInResponseMessage
Dim federationSerializer As WSFederationSerializer
Dim returnValue As String

returnValue = instance.GetXmlTokenFromMessage(message, federationSerializer)

Sintaxis

'Declaración
Public Overridable Function GetXmlTokenFromMessage ( _
    message As SignInResponseMessage, _
    federationSerializer As WSFederationSerializer _
) As String
public virtual string GetXmlTokenFromMessage (
    SignInResponseMessage message,
    WSFederationSerializer federationSerializer
)
public:
virtual String^ GetXmlTokenFromMessage (
    SignInResponseMessage^ message, 
    WSFederationSerializer^ federationSerializer
)
public String GetXmlTokenFromMessage (
    SignInResponseMessage message, 
    WSFederationSerializer federationSerializer
)
public function GetXmlTokenFromMessage (
    message : SignInResponseMessage, 
    federationSerializer : WSFederationSerializer
) : String

Parámetros

  • message
    The HTTP request at the FederatedAuthenticationModule. This request contains the token issued by the STS in a WS-Federation Passive Protocol SignIn Response message from the STS.
  • federationSerializer
    The WS-Federation Serializer used to de-serialize the WS-Federation Passive Protocol SignIn Response message.

Valor devuelto

The issued token as an XML String.

Excepciones

Tipo de excepción Condición
ArgumentNullException

One of the parameters is null.

Seguridad para subprocesos

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para subprocesos.No se garantiza que los miembros de instancias sean seguros para subprocesos.

Plataformas

Plataformas de desarrollo

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Vea también

Referencia

WSFederationAuthenticationModule (Clase)
WSFederationAuthenticationModule (Miembros)
Microsoft.IdentityModel.Web (Espacio de nombres)