RefreshTokenRequestArgs
type RefreshTokenRequestArgs = {
clientId: string;
clientSecret?: string;
refreshToken: string;
};
Parameters required to exchange a refresh token for a new access token.
See
https://developer.todoist.com/api/v1/#tag/Authorization/OAuth
Properties
clientId
clientId: string;
clientSecret?
optional clientSecret: string;
Client secret. Required for confidential clients; omit for public clients
registered with tokenEndpointAuthMethod: 'none'.
refreshToken
refreshToken: string;