ó
è?F[c           @   sF   d  Z  d d l m Z d e f d „  ƒ  YZ d e f d „  ƒ  YZ d S(   sA   
Defines an interface which all Auth handlers need to implement.
iÿÿÿÿ(   t   Plugint   NotReadyToAuthenticatec           B   s   e  Z RS(    (   t   __name__t
   __module__(    (    (    s0   lib/python2.7/site-packages/boto/auth_handler.pyR      s   t   AuthHandlerc           B   s    e  Z g  Z d  „  Z d „  Z RS(   c         C   s   d S(   sÄ  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.
        N(    (   t   selft   hostt   configt   provider(    (    s0   lib/python2.7/site-packages/boto/auth_handler.pyt   __init__%   s    c         C   s   d S(   s½   Invoked to add authentication details to request.

        :type http_request: boto.connection.HTTPRequest
        :param http_request: HTTP request that needs to be authenticated.
        N(    (   R   t   http_request(    (    s0   lib/python2.7/site-packages/boto/auth_handler.pyt   add_auth6   s    (   R   R   t
   capabilityR	   R   (    (    (    s0   lib/python2.7/site-packages/boto/auth_handler.pyR   !   s   	N(   t   __doc__t   boto.pluginR    t	   ExceptionR   R   (    (    (    s0   lib/python2.7/site-packages/boto/auth_handler.pyt   <module>   s   