RefreshTokenResponse
Response containing new authentication tokens after refresh token exchange.
Provides fresh access and refresh tokens along with token metadata, allowing the user to continue their authenticated session without re-login.
type RefreshTokenResponse {
access_token: String!
refresh_token: String!
expires_in: Int!
token_type: String!
user_id: String!
}
Fields
RefreshTokenResponse.access_token
● String!
non-null scalar
New access token for API authentication.
JWT token that can be used to authenticate API requests. Contains user identity and permissions information.
RefreshTokenResponse.refresh_token
● String!
non-null scalar
New refresh token for future token exchanges.
Long-lived token that can be used to obtain new access tokens when the current access token expires.
RefreshTokenResponse.expires_in
● Int!
non-null scalar
Access token expiration time in seconds.
Number of seconds from token issuance until the access token expires and needs to be refreshed.
RefreshTokenResponse.token_type
● String!
non-null scalar
Type of the issued access token.
Indicates the token format and usage method, typically 'Bearer' for JWT tokens used in Authorization headers.
RefreshTokenResponse.user_id
● String!
non-null scalar
Unique identifier of the authenticated user.
Firebase UID that uniquely identifies the user account associated with these tokens.
Returned By
exchangeRefreshToken
mutation