Function: requestGoogleOAuthToken()
function requestGoogleOAuthToken(
input: RequestGoogleOAuthTokenInput
): Promise<GoogleTokenResponse>;
Defined in: electron/services/cloud/providers/googleDrive/googleDriveOAuthTokenRequest.ts:79
Performs a POST request to Google's OAuth token endpoint.
Parameters
input
Returns
Remarks
Shared by the interactive auth flow (authorization_code + PKCE) and the background refresh flow. Centralizing this logic keeps request construction and error handling consistent (including secret redaction).