File: //lib/python3/dist-packages/boto/__pycache__/auth_handler.cpython-310.pyc
o
ckF[ � @ s4 d Z ddlmZ G dd� de�ZG dd� de�ZdS )zA
Defines an interface which all Auth handlers need to implement.
� )�Pluginc @ s e Zd ZdS )�NotReadyToAuthenticateN)�__name__�
__module__�__qualname__� r r �3/usr/lib/python3/dist-packages/boto/auth_handler.pyr s r c @ s e Zd Zg Zdd� Zdd� ZdS )�AuthHandlerc C � dS )a� Constructs the handlers.
:type host: string
:param host: The host to which the request is being sent.
:type config: boto.pyami.Config
:param config: Boto configuration.
:type provider: boto.provider.Provider
:param provider: Provider details.
Raises:
NotReadyToAuthenticate: if this handler is not willing to
authenticate for the given provider and config.
Nr )�self�host�config�providerr r r �__init__% s zAuthHandler.__init__c C r
)z�Invoked to add authentication details to request.
:type http_request: boto.connection.HTTPRequest
:param http_request: HTTP request that needs to be authenticated.
Nr )r �http_requestr r r �add_auth6 s zAuthHandler.add_authN)r r r �
capabilityr r r r r r r ! s r N)�__doc__�boto.pluginr � Exceptionr r r r r r �<module> s