Skip to main content

storage_for

Function storage_for 

Source
pub fn storage_for(mode: CredentialStore) -> Arc<dyn CredentialStorage> 
Expand description

Builds the credential storage backend for mode.

File always yields a FileStorage. Keyring/Auto yield the keychain backends when the pkce-auth feature is enabled; without it they log a warning and degrade to FileStorage, since no keychain backend is compiled in.