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 | |
---|---|---|
AnyElements | Gets the XML elements specified within the <any> element. | |
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) | |
Created | Gets the token's creation date and time. | |
Id | Gets or sets a unique identifier of the token. (Inherited from SecurityToken) | |
Identity | Overridden. Gets the identity associated with this security token. | |
IsCurrent | Overridden. Gets a value indicating whether the security token is currently valid. | |
IsExpired | Overridden. Gets a value indicating whether the UsernameToken is expired. | |
Key | Overridden. Gets the key for the UsernameToken security token. | |
KeyBytes | Gets the key for the token. | |
KeyIdentifier | A reference that uniquely identifies the SecurityToken instance. (Inherited from SecurityToken) | |
Label | Gets or sets the label parameter for the key derivation algorithm. | |
Nonce | Gets the nonce value for the token. | |
Password | Gets the password for the user name associated with the security token. | |
PasswordDigest | Gets the SHA-1 hash of the password for the security token, if one was included in the message. | |
PasswordOption | Gets or sets how the password associated with the security token is sent in SOAP messages. | |
Principal | Gets or sets the principal object for the security token. (Inherited from SecurityToken) | |
RequiresRenewal | Gets a value indicating whether the security token requires renewal. (Inherited from SecurityToken) | |
SupportsDataEncryption | Overridden. Gets a value indicating whether the current token can be used for data encryption. | |
SupportsDigitalSignature | Overridden. Gets a value indicating whether the current token can be used to digitally sign a SOAP message. | |
TokenType | Gets the type of the security token. (Inherited from SecurityToken) | |
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) | |
Username | Gets the user name associated with the token. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
ComputePasswordDigest | Returns the SHA-1 hash for a nonce, a timestamp, and a password. | |
Equals | Overloaded. | |
GetHashCode | Overridden. Returns the hash code for the UsernameToken . | |
GetSignedTokenXml | (Inherited from SecurityToken ) | |
GetType | (Inherited from Object ) | |
GetXml | Overridden. Generates an XML representation of the token. | |
LoadXml | Overridden. Parses an XML string containing a token. | |
Mutate | Regenerates the instance specific details of the UsernameToken . | |
ReferenceEquals | (Inherited from Object ) | |
ToString | (Inherited from Object ) | |
VerifySignedTokenXml | (Inherited from SecurityToken ) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object ) | |
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