fn auth_token_optional(
    config: &Config,
    sid: &SourceId,
    operation: Operation<'_>,
    headers: Vec<String>,
    require_cred_provider_config: bool
) -> CargoResult<Option<Secret<String>>>
Expand description

Returns the token to use for the given registry.