Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasAuthorizationFailedError ¶
HasAuthorizationFailedError returns true it the error is, or contains, an AuthorizationFailed error
func HasLinkedAuthorizationFailedError ¶
HasLinkedAuthorizationFailedError returns true it the error is, or contains, a LinkedAuthorizationFailed error
func IsDeploymentActiveError ¶
IsDeploymentActiveError returns true it the error is a DeploymentActive error
func IsInvalidSecretError ¶
IsInvalidSecretError returns if errors is InvalidCredentials error Example: (adal.tokenRefreshError) adal: Refresh request failed. Status Code = '401'. Response body: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret is provided.
func IsUnauthorizedClientError ¶
IsUnauthorizedClientError return if errors is UnauthorizedClient Example: {"error": "unauthorized_client", "error_description": "AADSTS700016: Application with identifier 'xxx' was not found in the directory 'xxx'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant. ...", "error_codes": [700016]}`. This can be an indicator of AAD propagation delay.
Types ¶
This section is empty.