SessionSecurityTokenHandler Methods

Windows Identity Foundation
[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

(see also Protected Methods)
public methodCanReadKeyIdentifierClause  Indicates if the current XML element is pointing to a KeyIdentifierClause that can be serialized by this instance. (Inherited from SecurityTokenHandler)
public methodCanReadTokenOverridden. Checks the reader if this is a SecurityContextToken.
public methodCanWriteKeyIdentifierClause  Indicates if the given SecurityKeyIdentifierClause can be serialized by this instance. (Inherited from SecurityTokenHandler)
public methodCreateCookieSerializerGets or sets the SessionSecurityTokenCookieSerializer
public methodCreateSecurityTokenReference  Create the security token reference for tokens handled by this instance. (Inherited from SecurityTokenHandler)
public methodCreateSessionSecurityTokenCreates a SessionSecurityToken based on an IClaimsPrincipal and a valid time range.
public methodCreateTokenOverridden. Creates a security token based on a token descriptor.
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetTokenTypeIdentifiersOverridden. Gets the token type URIs
public methodGetType  (Inherited from Object)
public methodReadKeyIdentifierClause  Deserializes the XML to a KeyIdentifierClause that references a token handled by this instance. (Inherited from SecurityTokenHandler)
public methodReadTokenOverloaded.  
public methodToString  (Inherited from Object)
public methodValidateTokenOverloaded. Validates a token and returns its claims.
public methodWriteKeyIdentifierClause  Serializes to XML a SecurityKeyIdentifierClause that this instance supports. (Inherited from SecurityTokenHandler)
public methodWriteTokenOverloaded.  

protected methodApplyTransformsApplies Transforms to the cookie.
protected methodDetectReplayedTokens  Throws if a token is detected as being replayed. Override this method in your derived class to detect replays. (Inherited from SecurityTokenHandler)
protected methodFinalize  (Inherited from Object)
protected methodMemberwiseClone  (Inherited from Object)
protected methodSetTransformsSets the transforms that will be applied to cookies.
protected methodValidateSessionChecks the valid time of a SecurityToken.

Copyright © 2008 by Microsoft Corporation. All rights reserved.

Community Additions