Add projects
This commit is contained in:
parent
2d3a9ad623
commit
8b607dd700
1802 changed files with 503346 additions and 2 deletions
19
backend/sdk/cliproxy/auth/status.go
Normal file
19
backend/sdk/cliproxy/auth/status.go
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
package auth
|
||||
|
||||
// Status represents the lifecycle state of an Auth entry.
|
||||
type Status string
|
||||
|
||||
const (
|
||||
// StatusUnknown means the auth state could not be determined.
|
||||
StatusUnknown Status = "unknown"
|
||||
// StatusActive indicates the auth is valid and ready for execution.
|
||||
StatusActive Status = "active"
|
||||
// StatusPending indicates the auth is waiting for an external action, such as MFA.
|
||||
StatusPending Status = "pending"
|
||||
// StatusRefreshing indicates the auth is undergoing a refresh flow.
|
||||
StatusRefreshing Status = "refreshing"
|
||||
// StatusError indicates the auth is temporarily unavailable due to errors.
|
||||
StatusError Status = "error"
|
||||
// StatusDisabled marks the auth as intentionally disabled.
|
||||
StatusDisabled Status = "disabled"
|
||||
)
|
||||
Loading…
Reference in a new issue