Interface: TokenResponse
Defined in: web/lib/auth/types.ts:177
Token response from OAuth token endpoint.
Properties
access_token
access_token:
string
Defined in: web/lib/auth/types.ts:179
JWT access token
expires_in
expires_in:
number
Defined in: web/lib/auth/types.ts:188
Expiry in seconds
refresh_token
refresh_token:
string
Defined in: web/lib/auth/types.ts:182
Refresh token
scope
scope:
string
Defined in: web/lib/auth/types.ts:191
Granted scope (space-separated)
sub
sub:
`did:${string}:${string}`
Defined in: web/lib/auth/types.ts:194
Subject DID
token_type
token_type:
"Bearer"
Defined in: web/lib/auth/types.ts:185
Token type (always "Bearer")