Table of Contents

Class IdTokenValidationException

Namespace
Auth0.AuthenticationApi.Tokens
Assembly
Auth0.AuthenticationApi.dll

Exception used to convey ways in which an identity token has failed to be validated.

[Serializable]
public class IdTokenValidationException : Exception, ISerializable
Inheritance
IdTokenValidationException
Implements
Derived
Inherited Members

Constructors

IdTokenValidationException()

public IdTokenValidationException()

IdTokenValidationException(SerializationInfo, StreamingContext)

protected IdTokenValidationException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext

IdTokenValidationException(string)

Create a new IdTokenValidationException with a given error message.

public IdTokenValidationException(string message)

Parameters

message string

Message that describes how the token fails to meet validation requirements.

IdTokenValidationException(string, Exception)

Create a new IdTokenValidationException that contains a further inner Exception describing how this token could not be validated.

public IdTokenValidationException(string message, Exception innerException)

Parameters

message string

Message that describes how the token fails to meet validation requirements.

innerException Exception

Inner exception that caused this validation exception.