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
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. |
InvalidIssuer | 12 | Specifies that the issuer is invalid. |
InvalidLifetime | 13 | Specifies that the lifetime is invalid. |
InvalidSignature | 3 | Specifies that the signature is invalid. |
LocalAuthDisabled | 14 | Specifies that Local Authorization(SAS) Disabled |
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. |
NotValidYet | 11 | Specifies that the token isn't valid yet. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기