다음을 통해 공유


SecurityToken Class

Definition

Base class for security token.

public abstract class SecurityToken : Microsoft.IdentityModel.Logging.ISafeLogSecurityArtifact
type SecurityToken = class
    interface ISafeLogSecurityArtifact
Public MustInherit Class SecurityToken
Implements ISafeLogSecurityArtifact
Inheritance
SecurityToken
Derived
Implements

Constructors

SecurityToken()

Properties

Id

This must be overridden to get the Id of this SecurityToken.

Issuer

This must be overridden to get the issuer of this SecurityToken.

SecurityKey

This must be overridden to get the SecurityKey.

SigningKey

This must be overridden to get or set the SecurityKey that signed this instance.

ValidFrom

This must be overridden to get the time when this SecurityToken was Valid.

ValidTo

This must be overridden to get the time when this SecurityToken is no longer Valid.

Methods

UnsafeToString()

Returns a string that represents the complete security artifact. This may include sensitive information and should only be used for debugging purposes.

Applies to