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) |
Initializes a new instance of the SecurityTokenInvalidTypeException class. |
SecurityTokenInvalidTypeException(String, Exception) |
Initializes a new instance of the SecurityTokenInvalidTypeException class. |
Properties
InvalidType |
Gets or sets the invalid type that created the validation exception. |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception. |
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla