acmadauth.errors module

Custom exceptions for the acmadauth module.

exception acmadauth.errors.DeviceAuthError

Bases: OIDCError

Raised when device authentication fails.

exception acmadauth.errors.OIDCDiscoveryError

Bases: OIDCError

Raised when OIDC discovery fails.

exception acmadauth.errors.OIDCError

Bases: RuntimeError

Raised for general OIDC errors.

exception acmadauth.errors.TokenCacheClearError

Bases: TokenCacheError

Raised when clearing the token cache fails.

exception acmadauth.errors.TokenCacheError

Bases: Exception

Base class for token cache related errors.

exception acmadauth.errors.TokenCacheLoadError

Bases: TokenCacheError

Raised when loading the token cache fails.

exception acmadauth.errors.TokenCacheSaveError

Bases: TokenCacheError

Raised when saving to the token cache fails.

exception acmadauth.errors.TokenSetError

Bases: OIDCError

Raised when there is an error with the token set.