SPTokenCache.WriteToken Method ()
Writes the token to a cache.
Namespace: Microsoft.SharePoint.IdentityModel
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Public Overrides Function WriteToken ( _
sessionToken As SessionSecurityToken _
) As Byte()
'Usage
Dim instance As SPTokenCache
Dim sessionToken As SessionSecurityToken
Dim returnValue As Byte()
returnValue = instance.WriteToken(sessionToken)
public override byte[] WriteToken(
SessionSecurityToken sessionToken
)
Parameters
sessionToken
Type: SessionSecurityTokenThe token for the session.
Return Value
Type: []
A Byte of claim token reference as the cookie.