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
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: