Skip to main content

exchange_code

Function exchange_code 

Source
pub async fn exchange_code(
    client_id: &str,
    client_secret: &str,
    redirect_uri: &str,
    code: &str,
) -> Result<TokenResponse, TokenExchangeError>
Expand description

Exchange an authorization code for an access token