Skip to main content

exchange_code_for_tokens

Function exchange_code_for_tokens 

Source
pub async fn exchange_code_for_tokens(
    code: &str,
    state: &str,
    verifier: &str,
    port: u16,
) -> Result<OAuthCredentials, String>
Expand description

Exchange an authorization code for access + refresh tokens.