Enum AuthorizationFailedException.FailureCode
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
Enumerates the possible causes of failure during authorization attempts.
public enum AuthorizationFailedException.FailureCode
Fields
ExpiredToken = 5
Specifies that the token has expired.
Generic = 0
Specifies that the error is generic.
InvalidAudience = 4
Specifies that the audience is invalid.
InvalidClaim = 6
Specifies that the claim is invalid.
InvalidSignature = 3
Specifies that the signature is invalid.
MalformedToken = 2
Specifies that the token is malformed.
MissingAudience = 7
Specifies that the audience is missing.
MissingExpiresOn = 8
Specifies that the ‘expires on’ date is missing.
MissingIssuer = 9
Specifies that the issuer is missing.
MissingSignature = 10
Specifies that the signature is missing.
MissingToken = 1
Specifies that the token is missing.