Share via


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