SPTokenCache.ReadToken method (Byte[])

Reads the reference key from the cookie by looking up in the cache.

Namespace:  Microsoft.SharePoint.IdentityModel
Assembly:  Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)

Syntax

'Declaration
Public Overrides Function ReadToken ( _
    token As Byte() _
) As SecurityToken
'Usage
Dim instance As SPTokenCache
Dim token As Byte()
Dim returnValue As SecurityToken

returnValue = instance.ReadToken(token)
public override SecurityToken ReadToken(
    byte[] token
)

Parameters

  • token
    Type: []

    The security token to read.

Return value

Type: System.IdentityModel.Tokens.SecurityToken
A SecurityTokenthat represents the security token that is read.

See also

Reference

SPTokenCache class

SPTokenCache members

ReadToken overload

Microsoft.SharePoint.IdentityModel namespace