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
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de