UsernameToken Members

Represents security credentials in the form of a user name and/or password.

The following tables list the members exposed by the UsernameToken type.

Public Constructors

  Name Description
UsernameToken Overloaded.  

Top

Public Properties

  Name Description
public property AnyElements Gets the XML elements specified within the <any> element.
public property AttachedReference  Gets or sets the KeyInfo that can be used to refer to this security token when the token is included in the message.(Inherited from SecurityToken)
public property Created Gets the token's creation date and time.
public property Id  Gets or sets a unique identifier of the token. (Inherited from SecurityToken)
public property Identity Overridden. Gets the identity associated with this security token.
public property IsCurrent Overridden. Gets a value indicating whether the security token is currently valid.
public property IsExpired Overridden. Gets a value indicating whether the UsernameToken is expired.
public property Key Overridden. Gets the key for the UsernameToken security token.
public property KeyBytes Gets the key for the token.
public property KeyIdentifier  A reference that uniquely identifies the SecurityToken instance. (Inherited from SecurityToken)
public property Label Gets or sets the label parameter for the key derivation algorithm.
public property Nonce Gets the nonce value for the token.
public property Password Gets the password for the user name associated with the security token.
public property PasswordDigest Gets the SHA-1 hash of the password for the security token, if one was included in the message.
public property PasswordOption Gets or sets how the password associated with the security token is sent in SOAP messages.
public property Principal  Gets or sets the principal object for the security token. (Inherited from SecurityToken)
public property RequiresRenewal  Gets a value indicating whether the security token requires renewal. (Inherited from SecurityToken)
public property SupportsDataEncryption Overridden. Gets a value indicating whether the current token can be used for data encryption.
public property SupportsDigitalSignature Overridden. Gets a value indicating whether the current token can be used to digitally sign a SOAP message.
public property TokenType  Gets the type of the security token. (Inherited from SecurityToken)
public property UnattachedReference  Gets or sets the KeyInfo that can be used to refer to this security token when the token is not included in the message.(Inherited from SecurityToken)
public property Username Gets the user name associated with the token.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method static ComputePasswordDigest Returns the SHA-1 hash for a nonce, a timestamp, and a password.
public method Equals Overloaded.  
public method GetHashCode Overridden. Returns the hash code for the UsernameToken .
public method GetSignedTokenXml  (Inherited from SecurityToken )
public method GetType  (Inherited from Object )
public method GetXml Overridden. Generates an XML representation of the token.
public method LoadXml Overridden. Parses an XML string containing a token.
public method Mutate Regenerates the instance specific details of the UsernameToken .
public method static ReferenceEquals  (Inherited from Object )
public method ToString  (Inherited from Object )
public method VerifySignedTokenXml  (Inherited from SecurityToken )

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object )
protected method MemberwiseClone  (Inherited from Object )

Top

Explicit Interface Implementations

  Name Description
Microsoft.Web.Services3.Security.Tokens.IMutableSecurityToken.Clone  

Top

See Also

Reference

UsernameToken Class
Microsoft.Web.Services3.Security.Tokens Namespace