simple_openid_connect.flows.client_credentials_grant.client#

Classes

ClientCredentialsGrantClient(base_client)

A client that implements *Client Credentials Grant* (sometimes called Service Account Authentication).

class simple_openid_connect.flows.client_credentials_grant.client.ClientCredentialsGrantClient(base_client: OpenidClient)#

A client that implements *Client Credentials Grant* (sometimes called Service Account Authentication).

It is exposed via OpenidClient.client_credentials_grant

__init__(base_client: OpenidClient)#
authenticate() TokenSuccessResponse | TokenErrorResponse#

Retrieve a token that is dedicated to the authenticated client from the provider.

Returns:

The result of the exchange