add session_id to token model

This commit is contained in:
Min RK
2021-11-16 12:07:46 +01:00
parent 8813bb63d4
commit 39f19aef49
4 changed files with 18 additions and 0 deletions

View File

@@ -340,6 +340,7 @@ class BaseHandler(RequestHandler):
auth_info['auth_state'] = await user.get_auth_state()
return await self.auth_to_user(auth_info, user)
@functools.lru_cache()
def get_token(self):
"""get token from authorization header"""
token = self.get_auth_token()