Freigeben über


SecurityTokenInvalidLifetimeException Class

Definition

This exception is thrown when 'lifetime' of a token was not valid.

[System.Serializable]
public class SecurityTokenInvalidLifetimeException : Microsoft.IdentityModel.Tokens.SecurityTokenValidationException
[<System.Serializable>]
type SecurityTokenInvalidLifetimeException = class
    inherit SecurityTokenValidationException
Public Class SecurityTokenInvalidLifetimeException
Inherits SecurityTokenValidationException
Inheritance
SecurityTokenInvalidLifetimeException
Attributes

Constructors

SecurityTokenInvalidLifetimeException()

Initializes a new instance of the SecurityTokenInvalidLifetimeException class.

SecurityTokenInvalidLifetimeException(SerializationInfo, StreamingContext)

Initializes a new instance of the SecurityTokenInvalidLifetimeException class.

SecurityTokenInvalidLifetimeException(String, Exception)

Initializes a new instance of the SecurityTokenInvalidLifetimeException class.

SecurityTokenInvalidLifetimeException(String)

Initializes a new instance of the SecurityTokenInvalidLifetimeException class.

Properties

Expires

Gets or sets the Expires value that created the validation exception. This value is always in UTC.

NotBefore

Gets or sets the NotBefore value that created the validation exception. This value is always in UTC.

Source

Gets or sets the source of the exception.

(Inherited from SecurityTokenException)
StackTrace

Gets the stack trace that is captured when the exception is created.

(Inherited from SecurityTokenException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.

Applies to