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.​Exception → SecurityTokenException → SecurityTokenValidationException → SecurityTokenInvalidSignatureException → SecurityTokenUnableToValidateException
Implemented Interfaces
- System.​Runtime.​Serialization.​ISerializable Implemented by: Exception
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
public
ValidationFailure
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
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