Metadata-Version: 2.5
Name: archipy-keycloak
Version: 5.18.2
Summary: ArchiPy keycloak adapter.
Author-email: Hossein Nejati <hosseinnejati14@gmail.com>
License-Expression: Apache-2.0
Requires-Python: <4,>=3.14
Requires-Dist: archipy==5.18.2
Requires-Dist: async-lru>=2.4.0
Requires-Dist: cachetools>=7.2.3
Requires-Dist: python-keycloak>=7.1.1
Description-Content-Type: text/markdown

# archipy-keycloak

Keycloak adapter for [ArchiPy](https://syntaxarc.github.io/ArchiPy/): authentication, authorization and realm administration.

## Install

Install it through the core extra, which pins this package to the matching ArchiPy version:

```bash
uv add "archipy[keycloak]"
```

## Usage

```python
from archipy.adapters.keycloak.adapters import KeycloakAdapter

adapter = KeycloakAdapter()
```

The adapter reads its settings from the `KEYCLOAK` section of the global config, for example `KEYCLOAK__<FIELD>` environment variables.

Classes in `archipy.adapters.keycloak.adapters`: `KeycloakAdapter`, `AsyncKeycloakAdapter`.

See the [Keycloak tutorial](https://syntaxarc.github.io/ArchiPy/tutorials/adapters/keycloak/) for the full API.
