[][src]Function open_api_hydra::apis::admin_api::list_o_auth2_clients

pub async fn list_o_auth2_clients<'_>(
    configuration: &'_ Configuration,
    limit: Option<i64>,
    offset: Option<i64>
) -> Result<Vec<OAuth2Client>, Error<ListOAuth2ClientsError>>

This endpoint lists all clients in the database, and never returns client secrets. 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. The "Link" header is also included in successful responses, which contains one or more links for pagination, formatted like so: 'https://hydra-url/admin/clients?limit={limit}&offset={offset}; rel="{page}"', where page is one of the following applicable pages: 'first', 'next', 'last', and 'previous'. Multiple links can be included in this header, and will be separated by a comma.