SecurityTokenInvalidTypeException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This exception is thrown when the token type ('typ' header claim) of a JWT token is invalid.
[System.Serializable]
public class SecurityTokenInvalidTypeException : Microsoft.IdentityModel.Tokens.SecurityTokenValidationException
[<System.Serializable>]
type SecurityTokenInvalidTypeException = class
inherit SecurityTokenValidationException
Public Class SecurityTokenInvalidTypeException
Inherits SecurityTokenValidationException
- Inheritance
- Attributes
Constructors
SecurityTokenInvalidTypeException() |
Initializes a new instance of the SecurityTokenInvalidTypeException class. |
SecurityTokenInvalidTypeException(SerializationInfo, StreamingContext) |
Initializes a new instance of the SecurityTokenInvalidTypeException class. |
SecurityTokenInvalidTypeException(String, Exception) |
Initializes a new instance of the SecurityTokenInvalidTypeException class. |
SecurityTokenInvalidTypeException(String) |
Initializes a new instance of the SecurityTokenInvalidTypeException class. |
Properties
InvalidType |
Gets or sets the invalid type that created the validation exception. |
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. |