Skip to content
rw3iss Auth

TokenPair

TokenPair

Defined in: @rw3iss/auth-shared/src/dto/auth.ts

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: @rw3iss/auth-shared/src/dto/auth.ts


expires_at

expires_at: string

Defined in: @rw3iss/auth-shared/src/dto/auth.ts

ISO 8601 timestamp of access-token expiry.


expires_in

expires_in: number

Defined in: @rw3iss/auth-shared/src/dto/auth.ts

Seconds until the access token expires.


refresh_token

refresh_token: string

Defined in: @rw3iss/auth-shared/src/dto/auth.ts


token_type

token_type: string

Defined in: @rw3iss/auth-shared/src/dto/auth.ts