Export (0) Print
Expand All

SessionSecurityTokenHandler Methods

.NET Framework 4.5

The SessionSecurityTokenHandler type exposes the following members.

  Name Description
Protected method ApplyTransforms Applies the transforms specified by the Transforms property to either encode or decode the specified cookie.
Public method CanReadKeyIdentifierClause Returns a value that indicates whether the XML element referred to by the specified XML reader is a key identifier clause that can be deserialized by this instance. (Inherited from SecurityTokenHandler.)
Public method CanReadToken(String) Returns a value that indicates whether the specified string can be deserialized as a token of the type processed by this instance. (Inherited from SecurityTokenHandler.)
Public method CanReadToken(XmlReader) Returns a value that indicates whether the reader is positioned at a <wsc:SecurityContextToken> element. (Overrides SecurityTokenHandler.CanReadToken(XmlReader).)
Public method CanWriteKeyIdentifierClause Returns a value that indicates whether the specified key identifier clause can be serialized by this instance. (Inherited from SecurityTokenHandler.)
Public method CreateSecurityTokenReference When overridden in a derived class, creates the security token reference for tokens processed by that class. This method is typically called by a security token service (STS). (Inherited from SecurityTokenHandler.)
Public method CreateSessionSecurityToken Creates a SessionSecurityToken based on the specified claims principal and time range during which the token is valid.
Public method CreateToken Creates a security token based on the specified token descriptor. (Overrides SecurityTokenHandler.CreateToken(SecurityTokenDescriptor).)
Protected method DetectReplayedToken When overridden in a derived class, throws an exception if the specified token is detected as being replayed. (Inherited from SecurityTokenHandler.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetTokenTypeIdentifiers Gets the token type URIs for the token types that can be processed by this handler. (Overrides SecurityTokenHandler.GetTokenTypeIdentifiers().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method LoadCustomConfiguration Loads custom configuration from XML. (Overrides SecurityTokenHandler.LoadCustomConfiguration(XmlNodeList).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReadKeyIdentifierClause When overridden in a derived class, deserializes the XML referenced by the specified XML reader to a key identifier clause that references a token processed by the derived class. (Inherited from SecurityTokenHandler.)
Public method ReadToken(String) When overridden in a derived class, deserializes the specified string to a token of the type processed by the derived class. (Inherited from SecurityTokenHandler.)
Public method ReadToken(XmlReader) Reads the SessionSecurityToken using the specified XML reader. (Overrides SecurityTokenHandler.ReadToken(XmlReader).)
Public method ReadToken(Byte[], SecurityTokenResolver) Reads the SessionSecurityToken from a stream of bytes by using the specified token resolver.
Public method ReadToken(XmlReader, SecurityTokenResolver) Reads the SessionSecurityToken using the specified XML reader and token resolver. (Overrides SecurityTokenHandler.ReadToken(XmlReader, SecurityTokenResolver).)
Protected method SetTransforms Sets the transforms that will be applied to cookies.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method TraceTokenValidationFailure Traces the failure event during the validation of security tokens when tracing is enabled. (Inherited from SecurityTokenHandler.)
Protected method TraceTokenValidationSuccess Traces the successful validation of security tokens event when tracing is enabled. (Inherited from SecurityTokenHandler.)
Protected method ValidateSession Determines whether the session associated with the specified token is still valid. Validity is determined by checking the ValidFrom and ValidTo properties of the specified token. An exception is thrown if the session is no longer valid.
Public method ValidateToken(SecurityToken) Validates the specified token and returns its claims. (Overrides SecurityTokenHandler.ValidateToken(SecurityToken).)
Public method ValidateToken(SessionSecurityToken, String) Validates the specified session token and returns its claims.
Public method WriteKeyIdentifierClause When overridden in a derived class, serializes the specified key identifier clause to XML. The key identifier clause must be of the type supported by the derived class. (Inherited from SecurityTokenHandler.)
Public method WriteToken(SecurityToken) When overridden in a derived class, serializes the specified security token to a string. The token must be of the type processed by the derived class. (Inherited from SecurityTokenHandler.)
Public method WriteToken(SessionSecurityToken) Serializes the specified token into a byte array.
Public method WriteToken(XmlWriter, SecurityToken) Serializes the specified token by using the specified XML writer. (Overrides SecurityTokenHandler.WriteToken(XmlWriter, SecurityToken).)
Top
Show:
© 2014 Microsoft