Skip to content

protocol

appimage_updater.repositories.protocol

Protocol definitions for repository clients.

AuthProtocol

Protocol for authentication providers.

is_authenticated property

Check if authentication is available.

token property

Get the authentication token.

get_auth_headers()

Get authentication headers for API requests.

Source code in src/appimage_updater/repositories/protocol.py
def get_auth_headers(self) -> dict[str, str]:
    """Get authentication headers for API requests."""
    ...

get_rate_limit_info()

Get rate limit information.

Source code in src/appimage_updater/repositories/protocol.py
def get_rate_limit_info(self) -> dict[str, str | int]:
    """Get rate limit information."""
    ...