Export (0) Print
Expand All

SecurityTokenHandler Methods

.NET Framework 4.5

The SecurityTokenHandler type exposes the following members.

  Name Description
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.
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.
Public method CanReadToken(XmlReader) Returns a value that indicates whether the XML element referenced by the specified XML reader can be read as a token of the type processed by this instance.
Public method CanWriteKeyIdentifierClause Returns a value that indicates whether the specified key identifier clause can be serialized by this instance.
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).
Public method CreateToken When overridden in a derived class, creates a security token using the specified token descriptor. This method is called by a security token service (STS).
Protected method DetectReplayedToken When overridden in a derived class, throws an exception if the specified token is detected as being replayed.
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 When overridden in a derived class, returns the set of URIs that are used in requests to identify a token of the type processed by the derived class.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method LoadCustomConfiguration When overridden in a derived class, loads custom configuration from XML.
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.
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.
Public method ReadToken(XmlReader) When overridden in a derived class, deserializes the XML referenced by the specified XML reader to a token of the type processed by the derived class.
Public method ReadToken(XmlReader, SecurityTokenResolver) When overridden in a derived class, deserializes the XML referenced by the specified XML reader to a token of the type processed by the derived class by using the specified token resolver.
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.
Protected method TraceTokenValidationSuccess Traces the successful validation of security tokens event when tracing is enabled.
Public method ValidateToken When overridden in a derived class, validates the specified security token. The token must be of the type processed by the derived class.
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.
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.
Public method WriteToken(XmlWriter, SecurityToken) When overridden in a derived class, serializes the specified security token to XML. The token must be of the type processed by the derived class.
Top
Show:
© 2014 Microsoft