mirror of
https://github.com/bpmforge/kryptkeeper.git
synced 2026-11-23 16:02:01 +00:00
20 lines
715 B
Go
20 lines
715 B
Go
// Copyright 2026 Kryptkeeper Authors
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package bootstrap
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
errInvalidCredentials = errors.New("invalid credentials")
|
|
errAccountInactive = errors.New("account inactive")
|
|
errInvalidRefreshToken = errors.New("invalid refresh token")
|
|
// errAuthUnavailable covers configuration/runtime auth failures that should map to 503.
|
|
errAuthUnavailable = errors.New("auth unavailable")
|
|
// errUserStoreUnavailable means a session principal's deprovisioned
|
|
// status could not be checked because the user store failed. Authenticators
|
|
// refuse the request (fail closed) rather than guess.
|
|
errUserStoreUnavailable = errors.New("user store unavailable")
|
|
)
|