Expand description
Registry authentication support.
Structs
- An authorization error from accessing a registry.
[registries.NAME]
tables.- The
[registry]
table, which more keys than the[registries.NAME]
tables.
Enums
Statics
- List of credential providers built-in to Cargo. Keep in sync with the
match
incredential_action
.
Functions
- Returns the token to use for the given registry. If a
login_url
is provided and a token is not available, the login_url will be included in the returned error. - Returns the token to use for the given registry.
- Store a token in the cache for future calls.
- Get the list of credential providers for a registry source.
- Log in to the given registry.
- Log out from the given registry.
- Get the credential configuration for a
SourceId
. - Use the
[credential-alias]
table to see if the provider name has been aliased.