| Server IP : 162.241.203.86 / Your IP : 216.73.216.183 Web Server : Apache System : Linux br1002.hostgator.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : luxlic01 ( 6532) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oauthlib/oauth2/rfc6749/__pycache__/ |
Upload File : |
a
\��`Y+ � @ s� d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z ddl
mZmZ ddl
mZ G d d
� d
e�Zd 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 sn t � �|� d | _d|v r6|d r6tt�|d ��| _|d urbtt�|��| _| jd u rj| j| _n| j| _d S )N�scope)�super�__init__�
_new_scope�setr Z
scope_to_list�
_old_scope)�self�params� old_scope�� __class__� �B/usr/lib/python3.9/site-packages/oauthlib/oauth2/rfc6749/tokens.pyr s
zOAuth2Token.__init__c C s | j | jkS �N)r
r �r r r r �
scope_changed&