pub async fn exchange_code(
spec: &ProviderOAuthSpec,
port: u16,
code: &str,
verifier: &str,
) -> Result<OAuthTokens>Expand description
Exchange an authorization code for tokens at spec.token_url.
Sends the PKCE verifier (code_verifier) and the same redirect_uri
that was used in the authorization request, so the provider can pair
them up. Returns the parsed OAuthTokens.