The client ID of your AniList API application.
The client secret of your AniList API application.
The refresh token from a previous token response.
Optionalsignal: AbortSignal
Optional AbortSignal to cancel the refresh while it is in flight.
Optionaloptions: RequestOptions
Optional transport settings for the token call; timeout defaults to the shared 10-second token-request timeout and retry defaults to disabled because grant credentials are single-use. Pass an explicit retry policy to opt back in.
A promise that resolves to the token response containing a new access_token. The refresh_token field may be absent when AniList does not rotate it.
Exchanges a refresh token for a new access token using the refresh-token grant.