Skip to main content

exchange_code

Function exchange_code 

Source
pub async fn exchange_code(
    config: &OAuthProviderConfig,
    code: &str,
    pkce_verifier: &str,
) -> Result<OAuthTokens, AuthError>
Expand description

Exchange an authorization code for access and refresh tokens.