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