o
    &zh¼  ã                   @   sH   d dl mZmZmZ ddlmZ G dd„ deƒZe e¡Ze e¡Z	dS )é   )ÚOAuthAdapterÚOAuthCallbackViewÚOAuthLoginViewé   )ÚPocketOAuthClientc                   @   s(   e Zd ZdZdZdZdZeZdd„ Z	dS )ÚPocketOAuthAdapterÚpocketz&https://getpocket.com/v3/oauth/requestz(https://getpocket.com/v3/oauth/authorizez$https://getpocket.com/auth/authorizec                 C   s   |   ¡  ||¡S )N)Úget_providerÚsociallogin_from_response)ÚselfÚrequestÚappÚtokenÚresponse© r   úg/var/www/html/kangema/venv/lib/python3.10/site-packages/allauth/socialaccount/providers/pocket/views.pyÚcomplete_login   s   z!PocketOAuthAdapter.complete_loginN)
Ú__name__Ú
__module__Ú__qualname__Úprovider_idÚrequest_token_urlÚaccess_token_urlÚauthorize_urlr   Úclient_classr   r   r   r   r   r      s    r   N)
Úoauth.viewsr   r   r   Úclientr   r   Úadapter_viewÚoauth_loginÚoauth_callbackr   r   r   r   Ú<module>   s
    
