SecurityToken Members
Represents a base class used to implement all security tokens.
The following tables list the members exposed by the SecurityToken type.
Protected Constructors
Name | Description | |
---|---|---|
SecurityToken | Overloaded. Initializes a new instance of the SecurityToken class. |
Top
Public Properties
Name | Description | |
---|---|---|
AttachedReference | Gets or sets the KeyInfo that can be used to refer to this security token when the token is included in the message. | |
Id | Gets or sets a unique identifier of the token. | |
Identity | Gets the identity associated with this security token. | |
IsCurrent | When overridden in a derived class, gets a value indicating whether the security token is currently valid. | |
IsExpired | Gets a value indicating whether the current time is later than the security token's expiration time. | |
Key | Gets the key for the SecurityToken security token. | |
KeyIdentifier | A reference that uniquely identifies the SecurityToken instance. | |
Principal | Gets or sets the principal object for the security token. | |
RequiresRenewal | Gets a value indicating whether the security token requires renewal. | |
SupportsDataEncryption | When overridden in a derived class, gets a value indicating whether the token supports encryption. | |
SupportsDigitalSignature | When overridden in a derived class, gets a value indicating whether digital signatures are supported. | |
TokenType | Gets the type of the security token. | |
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. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Equals | Overloaded. Overridden. | |
GetHashCode | Overridden. When overridden in a derived class, returns a hash code for the SecurityToken. | |
GetSignedTokenXml | Gets an XML representation of the current instance digitally signed by another security token. | |
GetType | (Inherited from Object ) | |
GetXml | When overridden in a derived class, generates an XML representation of the SecurityToken from the specified XML document. | |
LoadXml | When overridden in a derived class, loads an XML element into properties of the SecurityToken. | |
ReferenceEquals | (Inherited from Object ) | |
ToString | (Inherited from Object ) | |
VerifySignedTokenXml | Verifies the digital signature of a security token that is an XML representation. |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object ) | |
MemberwiseClone | (Inherited from Object ) |
Top
See Also
Reference
SecurityToken Class
Microsoft.Web.Services3.Security.Tokens Namespace