ACMAD Device Flow Authentication Logo

Contents:

  • Installation
  • Usage
  • Configuration
  • Security notes

API Modules:

  • acmadauth.auth module
  • acmadauth.handlers module
  • acmadauth.tokencaches module
  • acmadauth.tokenset module
  • acmadauth.errors module
  • acmadauth.schemas module
ACMAD Device Flow Authentication
  • ACMAD Authentication
  • View page source

ACMAD Authentication

ACMAD Authentication provides a small helper layer for Keycloak OIDC device authorisation flows. It manages device flow prompts, caches tokens, and exposes an httpx authentication class that injects bearer tokens and refreshes them as needed.

Contents:

  • Installation
  • Usage
    • Quick start
    • Usage with keyring token cache
    • Device authorisation flow
  • Configuration
    • Handler options
    • Token cache options
  • Security notes

API Documentation

API Modules:

  • acmadauth.auth module
    • HttpxDeviceFlowAuth
    • RequestsDeviceFlowAuth
  • acmadauth.handlers module
    • KeycloakOIDCDeviceFlowHandler
  • acmadauth.tokencaches module
    • JsonFileTokenCache
    • KeyringTokenCache
    • MemoryTokenCache
    • TokenCache
  • acmadauth.tokenset module
    • JWTToken
    • TokenSet
  • acmadauth.errors module
    • DeviceAuthError
    • OIDCDiscoveryError
    • OIDCError
    • TokenCacheClearError
    • TokenCacheError
    • TokenCacheLoadError
    • TokenCacheSaveError
    • TokenSetError
  • acmadauth.schemas module
    • TokenResponseSchema
Next

© Copyright 2026, Griffith University.

Built with Sphinx using a theme provided by Read the Docs.