SecurityTokenValidationException 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.
The exception that is thrown when a received security token is invalid.
public ref class SecurityTokenValidationException : System::IdentityModel::Tokens::SecurityTokenException
[System.Serializable]
public class SecurityTokenValidationException : System.IdentityModel.Tokens.SecurityTokenException
[<System.Serializable>]
type SecurityTokenValidationException = class
inherit SecurityTokenException
Public Class SecurityTokenValidationException
Inherits SecurityTokenException
- Inheritance
- Attributes
Remarks
The SecurityTokenValidationException is typically thrown by the ValidateToken method.
Constructors
| Name | Description |
|---|---|
| SecurityTokenValidationException() |
Initializes a new instance of the SecurityTokenValidationException class. |
| SecurityTokenValidationException(SerializationInfo, StreamingContext) |
Initializes a new instance of the SecurityTokenValidationException class using the specified XML serialization data and contextual data about the source and destination of the serialization stream. |
| SecurityTokenValidationException(String, Exception) |
Initializes a new instance of the SecurityTokenValidationException class using the specified error message and root cause of the error. |
| SecurityTokenValidationException(String) |
Initializes a new instance of the SecurityTokenValidationException class using the specified error message. |