Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InvalidConfiguration = apierrors.InternalError.WithReason("InvalidConfiguration") InvalidCredentials = apierrors.Unauthorized.WithReason("InvalidCredentials") InvariantViolated = apierrors.Invalid.WithReason("InvariantViolated") )
View Source
var ChangePasswordFailed = apierrors.Invalid.WithReason("ChangePasswordFailed")
View Source
var ErrClaimNotVerifiable = NewInvariantViolated("ClaimNotVerifiable", "claim not verifiable", nil)
View Source
var ErrDuplicatedIdentity = NewInvariantViolated("DuplicatedIdentity", "identity already exists", nil)
View Source
var ErrIdentityModifyDisabled = NewInvariantViolated("IdentityModifyDisabled", "identity modification disabled", nil)
View Source
var ErrIdentityNotFound = apierrors.NotFound.WithReason("IdentityNotFound").New("identity not found")
View Source
var ErrInvalidCredentials = InvalidCredentials.New("invalid credentials")
View Source
var ErrMismatchedUser = NewInvariantViolated("MismatchedUser", "mismatched user", nil)
View Source
var ErrNoAuthenticator = NewInvariantViolated("NoAuthenticator", "no authenticator", nil)
View Source
var ErrNoPassword = ChangePasswordFailed.NewWithCause("the user does not have a password", apierrors.StringCause("NoPassword"))
View Source
var ErrOAuthProviderNotFound = apierrors.NotFound.WithReason("OAuthProviderNotFound").New("oauth provider not found")
View Source
var ErrPasswordReused = ChangePasswordFailed.NewWithCause("password reused", apierrors.StringCause("PasswordReused"))
View Source
var ErrUserNotFound = UserNotFound.New("user not found")
View Source
var UserNotFound = apierrors.NotFound.WithReason("UserNotFound")
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.