Module credentials.store
Common API for saving, reading, updating and removing application credentials.
Write application code against CredentialStore when the same credential workflow should work with different storage choices.
Interfaces
| Name | Description |
|---|---|
CredentialStore
|
Common credential-store interface. |
Structs
| Name | Description |
|---|---|
StoreCapabilities
|
Properties of one credential store that can affect application behavior. |
Enums
| Name | Description |
|---|---|
CredentialStatus
|
Result of a credential-store operation. |
StoreBlocking
|
Whether normal store operations can block or show user interaction. |
StoreConcurrency
|
How one store instance may be used from multiple threads. |
StoreMobility
|
Where stored credentials may be available. |
StoreProtection
|
Where responsibility for protecting stored credentials lies. |
StoreUnlockModel
|
Who controls access to stored credentials. |
Aliases
| Name | Type | Description |
|---|---|---|
SecretCallback
|
@safe void delegate(scope const(ubyte)[])
|
Function that receives a credential while it is being used. |