twine.auth module

class twine.auth.CredentialInput[source]
__init__(username: Optional[str] = None, password: Optional[str] = None) None[source]
class twine.auth.Resolver[source]
__init__(config: Dict[str, Optional[str]], input: twine.auth.CredentialInput) None[source]
classmethod choose(interactive: bool) Type[twine.auth.Resolver][source]
property username: Optional[str]
property password: Optional[str]
property system: Optional[str]
get_username_from_keyring() Optional[str][source]
get_password_from_keyring() Optional[str][source]
username_from_keyring_or_prompt() str[source]
password_from_keyring_or_prompt() str[source]
prompt(what: str, how: Callable[..., str]) str[source]
class twine.auth.Private[source]
prompt(what: str, how: Optional[Callable[..., str]] = None) str[source]