Authorization​Failed​Exception.​Failure​Code Enum

Definition

Enumerates the possible causes of failure during authorization attempts.

public enum AuthorizationFailedException.FailureCode
Inheritance
AuthorizationFailedException.FailureCode

Fields

ExpiredToken

Specifies that the token has expired.

Generic

Specifies that the error is generic.

InvalidAudience

Specifies that the audience is invalid.

InvalidClaim

Specifies that the claim is invalid.

InvalidSignature

Specifies that the signature is invalid.

MalformedToken

Specifies that the token is malformed.

MissingAudience

Specifies that the audience is missing.

MissingExpiresOn

Specifies that the 'expires on' date is missing.

MissingIssuer

Specifies that the issuer is missing.

MissingSignature

Specifies that the signature is missing.

MissingToken

Specifies that the token is missing.