AuthorizationFailedException.FailureCode Enum
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.
Enumerates the possible causes of failure during authorization attempts.
public enum AuthorizationFailedException.FailureCode
type AuthorizationFailedException.FailureCode =
Public Enum AuthorizationFailedException.FailureCode
- Inheritance
-
AuthorizationFailedException.FailureCode
Fields
Name | Value | Description |
---|---|---|
Generic | 0 | Specifies that the error is generic. |
MissingToken | 1 | Specifies that the token is missing. |
MalformedToken | 2 | Specifies that the token is malformed. |
InvalidSignature | 3 | Specifies that the signature is invalid. |
InvalidAudience | 4 | Specifies that the audience is invalid. |
ExpiredToken | 5 | Specifies that the token has expired. |
InvalidClaim | 6 | Specifies that the claim is invalid. |
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. |
NotValidYet | 11 | Specifies that the token isn't valid yet. |
InvalidIssuer | 12 | Specifies that the issuer is invalid. |
InvalidLifetime | 13 | Specifies that the lifetime is invalid. |
LocalAuthDisabled | 14 | Specifies that Local Authorization(SAS) Disabled |
Applies to
Azure SDK for .NET