pub async fn exchange_code(
token_url: &str,
client_id: &str,
client_secret: &str,
code: &str,
redirect_uri: &str,
) -> Result<OAuthToken, OAuthError>Expand description
Exchange an authorization code for a token bundle.
pub async fn exchange_code(
token_url: &str,
client_id: &str,
client_secret: &str,
code: &str,
redirect_uri: &str,
) -> Result<OAuthToken, OAuthError>Exchange an authorization code for a token bundle.