Skip to main content

Module api_token

Module api_token 

Source

Structs§

ApiToken
Listed / detail representation of an api_token row. Never includes the plaintext token — that field exists only on CreateTokenResponse.
CreateTokenRequest
CreateTokenResponse
Returned exactly once by POST /api/v1/tokens. The plaintext token is the only opportunity to record it — server stores only the blake3 hash.

Enums§

ApiTokenKind
Wire kind discriminator. PAT inherits the owner’s live permissions; API Token carries a snapshot subset chosen at create time.