Function get_o_auth2_client

Source
pub async fn get_o_auth2_client(
    configuration: &Configuration,
    id: &str,
) -> Result<OAuth2Client, Error<GetOAuth2ClientError>>
Expand description

Get an OAUth 2.0 client by its ID. This endpoint never returns passwords. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. To manage ORY Hydra, you will need an OAuth 2.0 Client as well. Make sure that this endpoint is well protected and only callable by first-party components.