IdentityModelSignInPageBase.EstablishSessionWithToken method
Initialize the environment to the identity described by the securityToken.
Namespace: Microsoft.SharePoint.IdentityModel.Pages
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Protected Overridable Sub EstablishSessionWithToken ( _
securityToken As SecurityToken, _
sessionCookie As SPSessionTokenWriteType _
)
'Usage
Dim securityToken As SecurityToken
Dim sessionCookie As SPSessionTokenWriteType
Me.EstablishSessionWithToken(securityToken, _
sessionCookie)
protected virtual void EstablishSessionWithToken(
SecurityToken securityToken,
SPSessionTokenWriteType sessionCookie
)
Parameters
securityToken
Type: System.IdentityModel.Tokens.SecurityTokenThe security token issued by the local farm Security Token Service representing a user.
sessionCookie
Type: Microsoft.SharePoint.IdentityModel.SPSessionTokenWriteTypeThe kind of session we are establishing.
See also
Reference
IdentityModelSignInPageBase class