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
formsSignInControl
Type: System.Web.UI.WebControls.LoginThe Login that initiated the sign-in procedure.
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.