exchangeChatGptAuthorizationCode function
Implementation
Future<ChatGptOAuthCredentials> exchangeChatGptAuthorizationCode({
required String code,
required String redirectUri,
required String codeVerifier,
http.Client? client,
}) => _tokenRequest({
'grant_type': 'authorization_code',
'code': code,
'redirect_uri': redirectUri,
'client_id': chatGptOAuthClientId,
'code_verifier': codeVerifier,
}, client: client);