Function ory_hydra_client::apis::o_auth2_api::oauth2_token_exchange
source · pub async fn oauth2_token_exchange(
configuration: &Configuration,
grant_type: &str,
client_id: Option<&str>,
code: Option<&str>,
redirect_uri: Option<&str>,
refresh_token: Option<&str>
) -> Result<OAuth2TokenExchange, Error<Oauth2TokenExchangeError>>
Expand description
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ The Ory SDK is not yet able to this endpoint properly.