Enum CredentialStatus
Result of a credential-store operation.
enum CredentialStatus : int { ... }
Most application flows need to handle only a small subset, typically ok, notFound, locked, userCancelled and unavailable. The remaining values let applications distinguish errors when they need more specific recovery.
Enum members
| Name | Description |
|---|---|
corruptedData
|
Persisted data failed structural or authenticated validation. |
invalidInput
|
Caller-supplied input is malformed, invalid, or belongs elsewhere. |
locked
|
The selected store or vault is currently locked. |
multipleMatches
|
More than one stored record matched where exactly one was required. |
notFound
|
The requested credential does not exist. |
ok
|
Operation completed successfully. |
permissionDenied
|
The caller or application is not permitted to perform the operation. |
storageFailure
|
The storage backend failed for a reason not represented above. |
tooLarge
|
The supplied secret or persisted object exceeds a supported size limit. |
unavailable
|
The selected storage service or device is currently unavailable. |
unsupported
|
The selected backend cannot provide the requested operation or policy. |
userActionRequired
|
The operation requires an explicit user action before it can continue. |
userCancelled
|
The user cancelled an interactive operation. |
writeOutcomeUnknown
|
A write was attempted but the backend cannot prove whether it committed.
Consumers must not blindly retry an operation that could create a duplicate record. Re-read or reconcile persistent state first. |