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

NameDescription
CredentialStore Common credential-store interface.

Structs

NameDescription
StoreCapabilities Properties of one credential store that can affect application behavior.

Enums

NameDescription
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

NameTypeDescription
SecretCallback @safe void delegate(scope const(ubyte)[]) Function that receives a credential while it is being used.