cargo::util::auth

Function credential_provider

source
fn credential_provider(
    gctx: &GlobalContext,
    sid: &SourceId,
    require_cred_provider_config: bool,
    show_warnings: bool,
) -> CargoResult<Vec<Vec<String>>>
Expand description

Get the list of credential providers for a registry source.