pub async fn set_o_auth2_client(
    configuration: &Configuration,
    id: &str,
    o_auth2_client: &OAuth2Client
) -> Result<OAuth2Client, Error<SetOAuth2ClientError>>
Expand description

Replaces an existing OAuth 2.0 Client with the payload you send. If you pass client_secret the secret is used, otherwise the existing secret is used. If set, the secret is echoed in the response. It is not possible to retrieve it later on. 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.