pub async fn exchange_code(
client: &Client,
callback: &Callback,
verifier: &str,
) -> Result<Option<IssuedTokens>, OAuthError>Expand description
Exchange a verified callback for tokens.
Returns None when the endpoint rejects the code.
ยงErrors
Returns OAuthError when the token endpoint is unreachable or answers
with undecodable JSON.