Skip to main content

exchange_code

Function exchange_code 

Source
pub async fn exchange_code(
    client: &Client,
    provider: SocialProvider,
    config: &SocialProviderConfig,
    code: &str,
) -> Result<String, SocialError>
Expand description

Exchange an authorization code for an access token.