exchangeRefreshToken
Exchange a refresh token for new access tokens.
Uses a valid refresh token to obtain new access and refresh tokens, extending the user's authentication session. This allows maintaining user sessions without requiring re-authentication.
Possible errors:
- EXCHANGE_REFRESH_TOKEN_ERROR: Failed to exchange tokens
exchangeRefreshToken(
input: ExchangeRefreshTokenInput!
): RefreshTokenResponse!
Arguments
exchangeRefreshToken.input
● ExchangeRefreshTokenInput!
non-null input
Refresh token exchange parameters containing the refresh token.
Contains the refresh token that will be exchanged for new authentication tokens.
Type
RefreshTokenResponse
object
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.