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. | |
Created | Gets the token's creation date and time. | |
Id | Gets or sets a unique identifier of the token.(inherited from SecurityToken) | |
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) | |
KeyInfo | Gets a System.Security.Cryptography.Xml.KeyInfo that can be used to refer to this security token when the token is not included in a SOAP message. (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) | |
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 | Gets an XML representation of the current instance digitally signed by another security token. (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 . | |
ToString | (inherited from Object ) | |
VerifySignedTokenXml | Verifies the digital signature of a security token that is an XML representation. (inherited from SecurityToken) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
Microsoft.Web.Services2.Security.Tokens.IMutableSecurityToken.Clone |
Top
See Also
Reference
UsernameToken Class
Microsoft.Web.Services2.Security.Tokens Namespace