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.​SecurityTokenUnableToValidateException

Assembly: Microsoft.IdentityModel.Tokens

Inheritance: object → System.​ExceptionSecurityTokenExceptionSecurityTokenValidationExceptionSecurityTokenInvalidSignatureException → SecurityTokenUnableToValidateException

Implemented Interfaces

This exception is thrown when a security token contained a key identifier but the key was not found by the runtime and when validation errors exist over the security token. This exception is not intended to be used as a signal to refresh keys.

Remarks

This exception type is now considered obsolete and will be removed in the next major version (7.0.0).

Properties

ValidationFailure
Indicates the type of the validation failure.
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

Methods

GetBaseException​()
Inherited from System.​Exception
GetType​()
Inherited from System.​Exception
public string
ToString​()
Inherited from System.​Exception
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object