summaryrefslogtreecommitdiff
path: root/oauthlib/oauth2/rfc6749/tokens.py
diff options
context:
space:
mode:
authorJonathan Huot <JonathanHuot@users.noreply.github.com>2020-04-22 16:31:44 +0200
committerGitHub <noreply@github.com>2020-04-22 16:31:44 +0200
commit6875e3ac513a3828c3328d4f585d4c38b2b2c698 (patch)
tree3ebf7d0a8b521f91a769e1f31c9bf8d4cc75e110 /oauthlib/oauth2/rfc6749/tokens.py
parent406653fc3018b8ae292234caef6df434cf612a52 (diff)
parent3e582846591e213ba8ec1780a5a5aadf69a090a2 (diff)
downloadoauthlib-6875e3ac513a3828c3328d4f585d4c38b2b2c698.tar.gz
Merge pull request #727 from antonrh/isort-integration
Diffstat (limited to 'oauthlib/oauth2/rfc6749/tokens.py')
-rw-r--r--oauthlib/oauth2/rfc6749/tokens.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/oauthlib/oauth2/rfc6749/tokens.py b/oauthlib/oauth2/rfc6749/tokens.py
index 6f6b1f6..6284248 100644
--- a/oauthlib/oauth2/rfc6749/tokens.py
+++ b/oauthlib/oauth2/rfc6749/tokens.py
@@ -9,17 +9,16 @@ This module contains methods for adding two types of access tokens to requests.
"""
import hashlib
import hmac
-from binascii import b2a_base64
import warnings
+from binascii import b2a_base64
+from urllib.parse import urlparse
from oauthlib import common
from oauthlib.common import add_params_to_qs, add_params_to_uri
-from urllib.parse import urlparse
from . import utils
-
class OAuth2Token(dict):
def __init__(self, params, old_scope=None):