nooschain / auth/auth-types / AuthSession
Interface: AuthSession
Defined in: auth/auth-types.ts:35
Bearer session minted after a signed challenge login succeeds.
The session token identifies the public key for API actor resolution. It is a route-authentication artifact only; the token is never written into consensus state and must not appear in logs or observability payloads.
Properties
expiresAt
expiresAt:
string
Defined in: auth/auth-types.ts:41
ISO timestamp after which the token is rejected.
publicKey
publicKey:
string
Defined in: auth/auth-types.ts:39
Public key bound to the token and resolved into a chain actor per route.
token
token:
string
Defined in: auth/auth-types.ts:37
Random bearer token presented as Authorization: Bearer <token>.