Function update_o_auth2_client

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

Update an existing OAuth 2.0 Client. If you pass client_secret the secret will be updated and returned via the API. This is the only time you will be able to retrieve the client secret, so write it down and keep it safe. 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.