Interface: TokenPair
Interface: TokenPair
Defined in: auth-shared/src/dto/auth.ts:13
Token pair returned on successful authentication. Mirrors the Go
TokenResponse DTO + the TokenPair returned by jwt.Service.
Properties
access_token
access_token:
string
Defined in: auth-shared/src/dto/auth.ts:14
expires_at
expires_at:
string
Defined in: auth-shared/src/dto/auth.ts:20
ISO 8601 timestamp of access-token expiry.
expires_in
expires_in:
number
Defined in: auth-shared/src/dto/auth.ts:18
Seconds until the access token expires.
refresh_token
refresh_token:
string
Defined in: auth-shared/src/dto/auth.ts:15
token_type
token_type:
string
Defined in: auth-shared/src/dto/auth.ts:16