[go: up one dir, main page]

Module credential

Module credential 

Source
Expand description

§Platform-independent secure storage model

This module defines a plug and play model for platform-specific credential stores. The model comprises two traits: CredentialBuilderApi for the underlying store and CredentialApi for the entries in the store. These traits must be implemented in a thread-safe way, a requirement captured in the CredentialBuilder and Credential types that wrap them.

Enums§

CredentialPersistence
A descriptor for the lifetime of stored credentials, returned from a credential store’s persistence call.

Traits§

CredentialApi
The API that credentials implement.
CredentialBuilderApi
The API that credential builders implement.

Functions§

nop_credential_builder

Type Aliases§

Credential
A thread-safe implementation of the Credential API.
CredentialBuilder
A thread-safe implementation of the CredentialBuilder API.