UserNameSecurityToken Members

UserNameSecurityToken Members

Represents a security token that is based upon a user name and password.

The UserNameSecurityToken type exposes the following members.

  NameDescription
Public method UserNameSecurityToken Overloaded. Initializes a new instance of the UserNameSecurityToken class.
Top

  NameDescription
Public method CanCreateKeyIdentifierClause<T> Gets a value that indicates whether this security token is capable of creating the specified key identifier. (Inherited from SecurityToken.)
Public method CreateKeyIdentifierClause<T> Creates the specified key identifier clause. (Inherited from SecurityToken.)
Public method Equals 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 a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method MatchesKeyIdentifierClause Returns a value that indicates whether the key identifier for this instance can be resolved to the specified key identifier. (Inherited from SecurityToken.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ResolveKeyIdentifierClause Gets the key for the specified key identifier clause. (Inherited from SecurityToken.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Id Gets a unique identifier of the security token. (Overrides SecurityToken.Id.)
Public property Password Gets the password for the user name associated with the security token.
Public property SecurityKeys Gets the cryptographic keys associated with the security token. (Overrides SecurityToken.SecurityKeys.)
Public property UserName Gets the user name that is associated with the security token.
Public property ValidFrom Gets the first instant in time at which this security token is valid. (Overrides SecurityToken.ValidFrom.)
Public property ValidTo Gets the last instant in time at which this security token is valid. (Overrides SecurityToken.ValidTo.)
Top

Community Additions

ADD
Show:
© 2016 Microsoft