Initial project snapshot
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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")
|
||||
)
|
||||
Reference in New Issue
Block a user