FormsSignInPage.GetSessionTokenWriteType method
Gets the type of token to write for the request.
Namespace: Microsoft.SharePoint.IdentityModel.Pages
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Protected Overridable Function GetSessionTokenWriteType ( _
formsSignInControl As Login _
) As SPSessionTokenWriteType
'Usage
Dim formsSignInControl As Login
Dim returnValue As SPSessionTokenWriteType
returnValue = Me.GetSessionTokenWriteType(formsSignInControl)
protected virtual SPSessionTokenWriteType GetSessionTokenWriteType(
Login formsSignInControl
)
Parameters
formsSignInControl
Type: System.Web.UI.WebControls.LoginThe sign-in control contains the user's preference vis-a-vis the type of token they would like.
Return value
Type: Microsoft.SharePoint.IdentityModel.SPSessionTokenWriteType
The token to write given the user's request the the farm's policy.