Function cargo_credential::read_token
source · pub fn read_token(
login_options: &LoginOptions<'_>,
registry: &RegistryInfo<'_>
) -> Result<Secret<String>, Error>
Expand description
Prompt the user for a token.
pub fn read_token(
login_options: &LoginOptions<'_>,
registry: &RegistryInfo<'_>
) -> Result<Secret<String>, Error>
Prompt the user for a token.