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