cargo_credential

Function read_token

source
pub fn read_token(
    login_options: &LoginOptions<'_>,
    registry: &RegistryInfo<'_>,
) -> Result<Secret<String>, Error>
Expand description

Prompt the user for a token.