Skip to main content

load_provider_auth

Function load_provider_auth 

Source
pub fn load_provider_auth(
    provider: &str,
) -> Result<Option<OAuthCredentials>, String>
Expand description

Load one provider’s OAuth credential from auth.json.

provider is a storage key: the bare provider id for the default account or <provider>@<label> for a named account (see CredentialRef).