This topic has not yet been rated - Rate this topic

MembershipUserNameSecurityTokenHandler Methods

.NET Framework 4.5

The MembershipUserNameSecurityTokenHandler 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. (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) Indicates whether the current XML element can be read as a UserNameSecurityToken. (Inherited from UserNameSecurityTokenHandler.)
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 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). (Inherited from SecurityTokenHandler.)
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 Returns the URIs used in requests to identify a token of the type that can be processed by this handler. (Inherited from UserNameSecurityTokenHandler.)
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 a UserNameSecurityToken from the specified reader. (Inherited from UserNameSecurityTokenHandler.)
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. (Inherited from SecurityTokenHandler.)
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.)
Public method ValidateToken Validates the specified security token by using the configured MembershipProvider. (Overrides SecurityTokenHandler.ValidateToken(SecurityToken).)
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(XmlWriter, SecurityToken) Serializes the specified UserNameSecurityToken to XML. (Inherited from UserNameSecurityTokenHandler.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.