simple_openid_connect.flows.client_credentials_grant.client¶
Classes
|
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)[source]¶
A client that implements *Client Credentials Grant* (sometimes called Service Account Authentication).
It is exposed via
OpenidClient.client_credentials_grant
- __init__(base_client: OpenidClient)[source]¶
- authenticate() TokenSuccessResponse | TokenErrorResponse [source]¶
Retrieve a token that is dedicated to the authenticated client from the provider.
- Returns:
The result of the exchange