azureerrors

package
v0.0.0-...-823d357 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasAuthorizationFailedError

func HasAuthorizationFailedError(err error) bool

HasAuthorizationFailedError returns true it the error is, or contains, an AuthorizationFailed error

func HasLinkedAuthorizationFailedError

func HasLinkedAuthorizationFailedError(err error) bool

HasLinkedAuthorizationFailedError returns true it the error is, or contains, a LinkedAuthorizationFailed error

func IsDeploymentActiveError

func IsDeploymentActiveError(err error) bool

IsDeploymentActiveError returns true it the error is a DeploymentActive error

func IsInvalidSecretError

func IsInvalidSecretError(err error) bool

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

func IsUnauthorizedClientError(err error) bool

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL