exchange_code

Function exchange_code 

Source
pub async fn exchange_code(
    config: &OAuthConfig,
    code: &str,
    verifier: &str,
    redirect_uri: &str,
    clock: &dyn Clock,
) -> Result<OAuthTokens, OAuthError>
Expand description

Exchange an authorization code for tokens.