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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour