WSTrustChannel.GetTokenFromResponse Methode

Definition

Ruft das Sicherheitstoken aus dem RSTR ab.

public:
 virtual System::IdentityModel::Tokens::SecurityToken ^ GetTokenFromResponse(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ response);
public virtual System.IdentityModel.Tokens.SecurityToken GetTokenFromResponse(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response);
abstract member GetTokenFromResponse : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse -> System.IdentityModel.Tokens.SecurityToken
override this.GetTokenFromResponse : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse -> System.IdentityModel.Tokens.SecurityToken
Public Overridable Function GetTokenFromResponse (request As RequestSecurityToken, response As RequestSecurityTokenResponse) As SecurityToken

Parameter

request
RequestSecurityToken

A RequestSecurityToken that represents the request used to ask for the security token.

response
RequestSecurityTokenResponse

Ein RequestSecurityTokenResponse Wert, der die Antwort darstellt, die das Sicherheitstoken enthält.

Gibt zurück

Ein SecurityToken Wert, der das analysierte Sicherheitstoken darstellt.

Ausnahmen

response ist null.

Gilt für: