Skip to main content

Module auth

Module auth 

Source
Expand description

CLI authentication flows.

Two paths produce a bearer token: paste-code (headless/SSH) and loopback (browser on the same machine). Both are anonymous endpoints; construct the client with an empty token for these calls. create_api_token requires an already-authenticated client.