> ## 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.

# BasicAuthentication

<span id="atoti.BasicAuthentication" />

> atoti.BasicAuthentication(<br />
>     *username*: [str](https://docs.python.org/3/library/stdtypes.html#str),<br />
>     *password*: [str](https://docs.python.org/3/library/stdtypes.html#str),<br />
> )

Authenticate requests with [basic authentication](https://en.wikipedia.org/wiki/Basic_access_authentication).

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

### Attributes

<h4 id="atoti.BasicAuthentication.username">
  *username*
</h4>

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

<h4 id="atoti.BasicAuthentication.password">
  *password*
</h4>

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