@app.route((url_prefix + 'oauth2/clients/<client_id>'), methods=['GET'])
@auth_required
def oauth2_clients(client_id: str) -> Response:
    '\n    Return OAuth2 client applications\n\n    :return:\n        GET /ajax/oauth2/clients: list of OAuth2 clients\n    '
    client = next((c for c in oauth_clients.values() if (c.client_id == client_id)), None)
    if (not client):
        raise UnknownClientError()
    return json_response(dict(id=client.client_id, name=client.name, description=client.description, icon=client.icon))
Return OAuth2 client applications

:return:
    GET /ajax/oauth2/clients: list of OAuth2 clients
@app.route((url_prefix + 'oauth2/clients/<client_id>'), methods=['GET'])
@auth_required
def oauth2_clients(client_id: str) -> Response:
    '\n    Return OAuth2 client applications\n\n    :return:\n        GET /ajax/oauth2/clients: list of OAuth2 clients\n    '
    client = next((c for c in oauth_clients.values() if (c.client_id == client_id)), None)
    if (not client):
        raise UnknownClientError()
    return json_response(dict(id=client.client_id, name=client.name, description=client.description, icon=client.icon))