Share via


FormsSignInPage.GetSecurityToken method

Obtains a security token from the Security Token Service for the user.

Namespace:  Microsoft.SharePoint.IdentityModel.Pages
Assembly:  Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)

Syntax

'Declaration
Protected Overridable Function GetSecurityToken ( _
    formsSignInControl As Login _
) As SecurityToken
'Usage
Dim formsSignInControl As Login
Dim returnValue As SecurityToken

returnValue = Me.GetSecurityToken(formsSignInControl)
protected virtual SecurityToken GetSecurityToken(
    Login formsSignInControl
)

Parameters

Return value

Type: System.IdentityModel.Tokens.SecurityToken
A security token representing the user described by the formsSignInControl. May return null as a means of cancelling the operation.

See also

Reference

FormsSignInPage class

FormsSignInPage members

Microsoft.SharePoint.IdentityModel.Pages namespace