> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# atoti.OAuth2ResourceOwnerPasswordAuthentication

### *final class* atoti.OAuth2ResourceOwnerPasswordAuthentication

Authenticate requests with OAuth 2’s [Resource Owner Password Credentials Grant](https://datatracker.ietf.org/doc/html/rfc6749#section-4.3).

<Callout icon="link">
  **See also**:
  [`atoti.OidcConfig.access_token_format`](./atoti.config.security.oidc_config#atoti.OidcConfig.access_token_format).
</Callout>

#### client\_id *: [str](https://docs.python.org/3/library/stdtypes.html#str)*

#### client\_secret *: [str](https://docs.python.org/3/library/stdtypes.html#str)*

#### issuer\_url *: [str](https://docs.python.org/3/library/stdtypes.html#str)*

#### password *: [str](https://docs.python.org/3/library/stdtypes.html#str)*

#### scopes *: [Set](https://docs.python.org/3/library/collections.abc.html#collections.abc.Set)\[[str](https://docs.python.org/3/library/stdtypes.html#str)]* *= frozenset(\{})*

#### username *: [str](https://docs.python.org/3/library/stdtypes.html#str)*
