summaryrefslogtreecommitdiff
path: root/oauthlib/oauth2/rfc6749/tokens.py
diff options
context:
space:
mode:
authorAnton Ruhlov <anton@paxful.com>2020-04-10 15:12:40 +0300
committerAnton Ruhlov <anton@paxful.com>2020-04-10 15:12:40 +0300
commit1a1df2280f000b1f2f05b5304150ef7826cc9d24 (patch)
treee72a18080a4b7f404ed1117d7eaf502eaaf27e1d /oauthlib/oauth2/rfc6749/tokens.py
parent809428d597b57215c1bb996ff5f9ca7f57f3aaad (diff)
downloadoauthlib-1a1df2280f000b1f2f05b5304150ef7826cc9d24.tar.gz
Sorted oauthlib imports per isort 4.3.21
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):