Reads a SecurityToken from the given HttpRequest.
Namespace: Microsoft.IdentityModel.Web
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As WSFederationAuthenticationModule
Dim request As HttpRequest
Dim returnValue As SecurityToken

returnValue = instance.GetSecurityToken(request)

Syntax

Visual Basic
Public Overridable Function GetSecurityToken ( _
		request As HttpRequest _
) As SecurityToken
C#
public virtual SecurityToken GetSecurityToken (
		HttpRequest request
)
C++
public:
virtual SecurityToken^ GetSecurityToken (
		HttpRequest^ request
)
J#
public SecurityToken GetSecurityToken (
		HttpRequest request
)
JScript
public function GetSecurityToken (
		request : HttpRequest
) : SecurityToken

Parameters

request

The current request.

Return Value

Returns SecurityToken.

Remarks

Use a derived class to interpret a specific type of request.


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