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

Assembly: Microsoft.IdentityModel.Tokens

Inheritance: object → System.​ExceptionSecurityTokenExceptionSecurityTokenValidationException → SecurityTokenInvalidTypeException

Implemented Interfaces

This exception is thrown when the token type ('typ' header claim) of a JWT token is invalid.

Properties

public string
InvalidType
Gets or sets the invalid type that created the validation exception.
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