Skip to main content

TokenPair

Successful refresh response.

Mirrors the access-token side of [LoginResponse] plus a freshly-rotated refresh token. The frontend persists both and discards the previous pair.

accessTokenstringrequired

New JWT access token.

Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
expiresIninteger<int64>required

Access-token TTL in seconds.

Possible values: >= 0

Example: 86400
refreshTokenstringrequired

New refresh token. Replaces whatever the client previously held.

Example: Mz3Wmw7lq...
tokenTypestringrequired

Token type (always "Bearer").

Example: Bearer
TokenPair
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expiresIn": 86400,
"refreshToken": "Mz3Wmw7lq...",
"tokenType": "Bearer"
}