SPFederationAuthenticationModule.SetPrincipalAndWriteSessionToken Method (SecurityToken)
Sets the principle claim and write session token.
Namespace: Microsoft.SharePoint.IdentityModel
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Public Sub SetPrincipalAndWriteSessionToken ( _
securityToken As SecurityToken _
)
'Usage
Dim instance As SPFederationAuthenticationModule
Dim securityToken As SecurityToken
instance.SetPrincipalAndWriteSessionToken(securityToken)
public void SetPrincipalAndWriteSessionToken(
SecurityToken securityToken
)
Parameters
securityToken
Type: System.IdentityModel.Tokens.SecurityTokenAn object that represents the security token.
See Also
Reference
SPFederationAuthenticationModule Class
SPFederationAuthenticationModule Members