agentle.agents.apis.authenticationΒΆ

Authentication support for API endpoints.

Provides various authentication methods including Bearer, Basic, OAuth2, API Key, and custom schemes.

Classes

ApiKeyAuthentication(api_key[, location, ...])

API Key authentication.

ApiKeyLocation(*values)

Where to place API key.

AuthType(*values)

Types of authentication supported.

AuthenticationBase()

Base class for authentication handlers.

AuthenticationConfig(*[, type, ...])

Configuration for API authentication.

BasicAuthentication(username, password)

HTTP Basic authentication.

BearerAuthentication(token[, auto_refresh])

Bearer token authentication.

HMACAuthentication(secret_key[, algorithm, ...])

HMAC signature authentication.

NoAuthentication()

No authentication.

OAuth2Authentication(token_url, client_id, ...)

OAuth2 authentication with token refresh.

OAuth2GrantType(*values)

OAuth2 grant types.