
    qh                     *    S r SSKJr   " S S\5      rg)zo
Zotero OAuth1 backends, docs at:
    https://python-social-auth.readthedocs.io/en/latest/backends/zotero.html
   )
BaseOAuth1c                   4    \ rS rSrSrSrSrSrSrS r	S r
S	rg
)ZoteroOAuth	   z$Zotero OAuth authorization mechanismzoteroz&https://www.zotero.org/oauth/authorizez$https://www.zotero.org/oauth/requestz#https://www.zotero.org/oauth/accessc                     US   $ )z\
Return user unique id provided by service. For Ubuntu One
the nickname should be original.
userID )selfdetailsresponses      M/var/www/html/env/lib/python3.13/site-packages/social_core/backends/zotero.pyget_user_idZoteroOAuth.get_user_id   s    
 x      c                 p    UR                  S0 5      nUR                  SS5      UR                  SS5      S.$ )z+Return user details from Zotero API accountaccess_tokenusername r	   )r   r	   )get)r   r   r   s      r   get_user_detailsZoteroOAuth.get_user_details   s<    ||NB7$((R8"&&x4
 	
r   r
   N)__name__
__module____qualname____firstlineno____doc__nameAUTHORIZATION_URLREQUEST_TOKEN_URLACCESS_TOKEN_URLr   r   __static_attributes__r
   r   r   r   r   	   s&    .D@><!
r   r   N)r   oauthr   r   r
   r   r   <module>r$      s   
 
* 
r   