Skip to main content

exchange_auth_code

Function exchange_auth_code 

Source
pub async fn exchange_auth_code(
    client_id: &str,
    code: &str,
    redirect_uri: &str,
    code_verifier: &str,
) -> Result<StoredTokens, StartupError>
Expand description

Exchange an authorization code for OAuth tokens.