/usr/lib/python3/dist-packages/oauthlib/oauth2/rfc6749/__pycache__
Edit: /usr/lib/python3/dist-packages/oauthlib/oauth2/rfc6749/__pycache__/tokens.cpython-310.pyc (9875B)
o
‘¸õaY+ ã @ sÜ d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z ddl
mZmZ ddl
mZ G d d
„ d
eƒZ d d
d„Zdd„ Zd!dd„Zd"dd„Zd#dd„Zdd„ Zdd„ ZG dd„ dƒZG dd„ deƒZdS )$zÿ
oauthlib.oauth2.rfc6749.tokens
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This module contains methods for adding two types of access tokens to requests.
- Bearer https://tools.ietf.org/html/rfc6750
- MAC https://tools.ietf.org/html/draft-ietf-oauth-v2-http-mac-01
é N)Ú
b2a_base64)Úurlparse)Úcommon)Úadd_params_to_qsÚadd_params_to_urié )Úutilsc sr e Zd Zd‡ fdd„ Zedd„ ƒZedd„ ƒZedd „ ƒZed
d„ ƒZedd
„ ƒZ edd„ ƒZ
edd„ ƒZ‡ ZS )ÚOAuth2TokenNc st t ƒ |¡ d | _d|v r|d rtt |d ¡ƒ| _|d ur4tt |¡ƒ| _| jd u r2| j| _d S d S | j| _d S )NÚscope)ÚsuperÚ__init__Ú
_new_scopeÚsetr Ú
scope_to_listÚ
_old_scope)ÚselfÚparamsÚ old_scope©Ú __class__© ú@/usr/lib/python3/dist-packages/oauthlib/oauth2/rfc6749/tokens.pyr s
ýzOAuth2Token.__init__c C s | j | jkS ©N)r
r ©r r r r Ú
scope_changed&