Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​IdentityModel.​Tokens.​SecurityTokenInvalidLifetimeException
Assembly: Microsoft.IdentityModel.Tokens
Inheritance: object → System.​Exception → SecurityTokenException → SecurityTokenValidationException → SecurityTokenInvalidLifetimeException
Implemented Interfaces
- System.​Runtime.​Serialization.​ISerializable Implemented by: Exception
This exception is thrown when 'lifetime' of a token was not valid.
Properties
public
System.​DateTime?
NotBefore
Gets or sets the NotBefore value that created the validation exception. This value is always in UTC.
public
System.​DateTime?
Expires
Gets or sets the Expires value that created the validation exception. This value is always in UTC.
public
string
StackTrace
Gets the stack trace that is captured when the exception is created.
public
string
Source
Gets or sets the source of the exception.
public
string
HelpLink
public
int
HResult
InnerException
public
string
Message
TargetSite
Methods
public
void
GetObjectData​(System.​Runtime.​Serialization.​SerializationInfo info,
System.​Runtime.​Serialization.​StreamingContext context)
public
System.​Type
GetType​()
Inherited from System.​Exception
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object