# BasicAuth

> **Class** in `langchain_azure_postgresql`

📖 [View in docs](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/BasicAuth)

Basic username/password authentication for Azure Database for PostgreSQL connections.

:param username: Username for the connection.
:type username: str
:param password: Password for the connection.
:type password: str

## Signature

```python
BasicAuth()
```

## Extends

- `BaseModel`

## Properties

- `username`
- `password`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-azure/blob/607b649e909f217be20d7a50804ca11534c08eea/libs/azure-postgresql/src/langchain_azure_postgresql/common/_shared.py#L46)