pub async fn exchange_code(
config: &OAuthConfig,
code: &str,
verifier: &str,
redirect_uri: &str,
clock: &dyn Clock,
) -> Result<OAuthTokens, OAuthError>Expand description
Exchange an authorization code for tokens.
pub async fn exchange_code(
config: &OAuthConfig,
code: &str,
verifier: &str,
redirect_uri: &str,
clock: &dyn Clock,
) -> Result<OAuthTokens, OAuthError>Exchange an authorization code for tokens.