Share via


SPTokenCache members

Represents a cache of security tokens.

The SPTokenCache type exposes the following members.

Constructors

  Name Description
Public method SPTokenCache() Initializes a new instance of the SPTokenCache class.
Public method SPTokenCache(ReadOnlyCollection<CookieTransform>) Initializes a new instance of the SPTokenCache class.
Public method SPTokenCache(XmlNodeList) Initializes a new instance of the SPTokenCache class.
Public method SPTokenCache(ReadOnlyCollection<CookieTransform>, SecurityTokenCache, TimeSpan) Initializes a new instance of the SPTokenCache class.

Top

Properties

  Name Description
Protected property AnonymousSessionSecurityToken Some requests are anonymous or not properly identified but still require the SessionSecurityTokenHandler to return a value. This is the value that signal the condition.
Public property CanValidateToken (Inherited from SessionSecurityTokenHandler.)
Public property CanWriteToken (Inherited from SessionSecurityTokenHandler.)
Public property Configuration (Inherited from SecurityTokenHandler.)
Public property ContainingCollection (Inherited from SecurityTokenHandler.)
Public property CookieElementName (Inherited from SessionSecurityTokenHandler.)
Public property CookieNamespace (Inherited from SessionSecurityTokenHandler.)
Public property TokenCache (Inherited from SessionSecurityTokenHandler.)
Public property TokenLifetime (Inherited from SessionSecurityTokenHandler.)
Public property TokenType (Inherited from SessionSecurityTokenHandler.)
Public property Transforms (Inherited from SessionSecurityTokenHandler.)
Public property UseWindowsTokenService (Inherited from SessionSecurityTokenHandler.)

Top

Methods

  Name Description
Protected method ApplyTransforms (Inherited from SessionSecurityTokenHandler.)
Protected method AreCookiesConsistentForWrite
Protected method AreTokenAndCookieConsistentForWrite
Public method CanReadKeyIdentifierClause (Inherited from SecurityTokenHandler.)
Public method CanReadToken (Inherited from SessionSecurityTokenHandler.)
Public method CanWriteKeyIdentifierClause (Inherited from SecurityTokenHandler.)
Public method CreateCookieSerializer (Inherited from SessionSecurityTokenHandler.)
Public method CreateSecurityTokenReference (Inherited from SecurityTokenHandler.)
Public method CreateSessionSecurityToken (Inherited from SessionSecurityTokenHandler.)
Protected method CreateSessionSecurityTokenRequestData
Public method CreateToken (Inherited from SessionSecurityTokenHandler.)
Protected method DetectReplayedTokens (Inherited from SecurityTokenHandler.)
Protected method DoesCookieNeedToBeRefreshed
Protected method DoesCookieNeedToBeRewritten
Protected method DoesTokenNeedToBeRefreshed
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method ForceReauthentication
Protected method GetCookieInformationFromToken
Protected method GetCookieObjectFromToken
Protected method GetCookieStringFromToken
Public method GetHashCode (Inherited from Object.)
Protected method GetRebuildTokenForFormsUserOptions
Protected method GetSingleClaimFromToken
Public method GetSiteSubscriptionIdFromUri
Public method GetTokenTypeIdentifiers (Inherited from SessionSecurityTokenHandler.)
Public method GetType (Inherited from Object.)
Protected method InitializeAndValidateRequest
Protected method IsClaimsAuthUriLocation
Protected method IsCookieDataValidForWrite
Protected method IsRequestExcludedFromCookieRefresh
Protected method IsRequestExcludedFromCookieRewrite
Protected method IsRequestExcludedFromTokenRefresh
Protected method MemberwiseClone (Inherited from Object.)
Public method ReadKeyIdentifierClause (Inherited from SecurityTokenHandler.)
Public method ReadToken(XmlReader) (Inherited from SessionSecurityTokenHandler.)
Public method ReadToken([]) Reads the reference key from the cookie by looking up in the cache. (Overrides SessionSecurityTokenHandlerReadToken([]).)
Public method ReadToken([], SecurityTokenResolver) (Inherited from SessionSecurityTokenHandler.)
Public method ReadToken(XmlReader, SecurityTokenResolver) (Inherited from SessionSecurityTokenHandler.)
Public method ReadTokenFromBytes
Protected method RebuildTokenForCacheMiss
Protected method RebuildTokenForFormUser(SPSessionSecurityTokenRequestData)
Protected method RebuildTokenForFormUser(SPSessionSecurityTokenCookieValue, String)
Protected method RebuildTokenForFormUser(SPSessionSecurityTokenRequestData, Boolean, SPFormsAuthenticationOption)
Protected method RefreshCookie
Protected method RefreshToken
Protected method ReplaceCookieFromNewToken
Protected method RewriteCookie
Protected method SetTransforms (Inherited from SessionSecurityTokenHandler.)
Protected method ShouldForceReauthentication
Public method ToString (Inherited from Object.)
Protected method ValidateSession (Inherited from SessionSecurityTokenHandler.)
Public method ValidateToken(SecurityToken) (Inherited from SessionSecurityTokenHandler.)
Public method ValidateToken(SessionSecurityToken, String) (Inherited from SessionSecurityTokenHandler.)
Protected method WriteCookie
Public method WriteKeyIdentifierClause (Inherited from SecurityTokenHandler.)
Public method WriteToken(SessionSecurityToken) Writes the token to a cache. (Overrides SessionSecurityTokenHandlerWriteToken(SessionSecurityToken).)
Public method WriteToken(XmlWriter, SecurityToken) (Inherited from SessionSecurityTokenHandler.)
Protected method WriteTokenToBytes

Top

See also

Reference

SPTokenCache class

Microsoft.SharePoint.IdentityModel namespace