# Class OAuth2 (1.22.0)

1.22.0 (latest) 1.21.0 1.20.0 1.19.0 1.18.0 1.17.1 1.16.1 1.15.0 1.14.1 1.13.5 1.12.0 1.10.3 1.9.0 1.8.1 1.7.0 1.6.0 1.5.4 1.4.1 1.3.1 1.2.1 1.1.0 1.0.2 0.1.2

    OAuth2(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The OAuth 2.0 Settings

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `client_id` | `str` The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server. |
| `client_secret` | `str` Input only. The OAuth 2.0 client secret created while registering the client ID. |
| `client_secret_sha256` | `str` Output only. SHA256 hash value for the client secret. This field is returned by IAP when the settings are retrieved. |