Skip to main content

exchange_code

Function exchange_code 

Source
pub async fn exchange_code(
    config: &GoogleOAuthConfig,
    code: String,
    pkce_verifier: String,
) -> Result<GoogleTokenSet, GoogleOAuthError>
Expand description

Exchange a validated authorization code for Google tokens.