다음을 통해 공유


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
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.
public property Id Gets or sets a unique identifier of the token.
public property Identity Gets the identity associated with this security token.
public property IsCurrent When overridden in a derived class, gets a value indicating whether the security token is currently valid.
public property IsExpired Gets a value indicating whether the current time is later than the security token's expiration time.
public property Key Gets the key for the SecurityToken security token.
public property KeyIdentifier A reference that uniquely identifies the SecurityToken instance.
public property Principal Gets or sets the principal object for the security token.
public property RequiresRenewal Gets a value indicating whether the security token requires renewal.
public property SupportsDataEncryption When overridden in a derived class, gets a value indicating whether the token supports encryption.
public property SupportsDigitalSignature When overridden in a derived class, gets a value indicating whether digital signatures are supported.
public property TokenType Gets the type of the security token.
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.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method Equals Overloaded. Overridden.  
public method GetHashCode Overridden. When overridden in a derived class, returns a hash code for the SecurityToken.
public method GetSignedTokenXml Gets an XML representation of the current instance digitally signed by another security token.
public method GetType  (Inherited from Object )
public method GetXml When overridden in a derived class, generates an XML representation of the SecurityToken from the specified XML document.
public method LoadXml When overridden in a derived class, loads an XML element into properties of the SecurityToken.
public method static ReferenceEquals  (Inherited from Object )
public method ToString  (Inherited from Object )
public method VerifySignedTokenXml Verifies the digital signature of a security token that is an XML representation.

Top

Protected Methods

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

Top

See Also

Reference

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