auth

Hand a session token to a locally-running CLI (loopback)

Mints a fresh session token for the current user and parks it under the CLI-supplied nonce for 60 seconds. The CLI claims it via the claim endpoint.

post/api/v0/auth/cli/transfer

Request

  • Base URL: https://api.harmont.dev
  • URL: https://api.harmont.dev/api/v0/auth/cli/transfer
  • Auth: HTTP bearer

Request body

noncestring required

The opaque nonce the CLI generated and is polling claim with.

Example request

{
  "nonce": "a7Kp...random"
}

Response

Token parked for the CLI to claim

Changes

No recorded changes to this operation across all 1 revision of this API.