Skip to main content

Module auth

Module auth 

Source
Expand description

runtime auth — login / logout / status.

login follows a two-step API dance:

  1. signIn(username, password) → session token.
  2. createPersonalAccessToken { name, scopes: [REPO_ADMIN] } → persistent PAT.

The PAT is what we keep on disk; the short-lived session token is discarded. The public hosted Runtime remote is the default host.

Structs§

LoginArgs

Enums§

AuthCmd

Constants§

DEFAULT_REMOTE_HOST

Functions§

run