fn auth_token_optional(
    config: &Config,
    sid: &SourceId,
    mutation: Option<&Mutation<'_>>
) -> CargoResult<Option<Secret<String>>>
Expand description

Returns the token to use for the given registry.