20 lines
912 B
Go
20 lines
912 B
Go
package auth
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrInvalidCredentials = errors.New("invalid credentials")
|
|
ErrInvalidRefreshToken = errors.New("invalid refresh token")
|
|
ErrAuthSessionRevoked = errors.New("auth session revoked")
|
|
ErrDeviceRevoked = errors.New("device revoked")
|
|
ErrDeviceNotTrusted = errors.New("device not trusted")
|
|
ErrAuthSessionNotFound = errors.New("auth session not found")
|
|
ErrTrustedDeviceMissing = errors.New("trusted device not found")
|
|
|
|
ErrInstallationAlreadyBootstrapped = errors.New("installation is already bootstrapped")
|
|
ErrInstallationActivationRequired = errors.New("signed installation activation is required")
|
|
ErrInvalidInstallationActivation = errors.New("invalid installation activation")
|
|
ErrInsecureBootstrapDisabled = errors.New("insecure installation bootstrap is disabled")
|
|
ErrInvalidBootstrapOwner = errors.New("invalid bootstrap owner")
|
|
)
|