Skip to content

0.11.0 — 2025-03-10

← 0.11.1 | 0.10.2 → | ↑ 0.x series

Features

  • Keycloak Adapter: New authentication and authorization system:
    • Asynchronous operations support
    • Token management and validation
    • User information retrieval
    • Comprehensive security features

Performance

  • Added TTL cache decorator for optimized performance
  • Improved Keycloak adapter efficiency

Documentation

  • Added detailed Keycloak integration guides
  • Included comprehensive usage examples

Usage Example

from archipy.adapters.keycloak.adapters import KeycloakAdapter

# Initialize adapter with configuration from global config
keycloak = KeycloakAdapter()

# Authenticate and get access token
token = keycloak.get_token("username", "password")

# Get user information
user_info = keycloak.get_userinfo(token)

# Verify token validity
is_valid = keycloak.validate_token(token)