Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As WSTrustChannel
Dim request As RequestSecurityToken
Dim response As RequestSecurityTokenResponse
Dim returnValue As SecurityToken

returnValue = instance.GetTokenFromResponse(request, response)

Syntax

Visual Basic
Public Overridable Function GetTokenFromResponse ( _
		request As RequestSecurityToken, _
		response As RequestSecurityTokenResponse _
) As SecurityToken
C#
public virtual SecurityToken GetTokenFromResponse (
		RequestSecurityToken request,
		RequestSecurityTokenResponse response
)
C++
public:
virtual SecurityToken^ GetTokenFromResponse (
		RequestSecurityToken^ request, 
		RequestSecurityTokenResponse^ response
)
J#
public SecurityToken GetTokenFromResponse (
		RequestSecurityToken request, 
		RequestSecurityTokenResponse response
)
JScript
public function GetTokenFromResponse (
		request : RequestSecurityToken, 
		response : RequestSecurityTokenResponse
) : SecurityToken

Parameters

request
response

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also