mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 07:38:11 +08:00
Permit other keys in the cxguser cookie (#1982)
This commit is contained in:
@@ -24,7 +24,7 @@ except ModuleNotFoundError:
|
|||||||
class Tokens:
|
class Tokens:
|
||||||
"""Simple class to represent the tokens that are saved/restored from the cookie"""
|
"""Simple class to represent the tokens that are saved/restored from the cookie"""
|
||||||
|
|
||||||
def __init__(self, access_token, id_token, refresh_token, expires_at):
|
def __init__(self, access_token, id_token, refresh_token, expires_at, **kwargs):
|
||||||
self.access_token = access_token
|
self.access_token = access_token
|
||||||
self.id_token = id_token
|
self.id_token = id_token
|
||||||
self.refresh_token = refresh_token
|
self.refresh_token = refresh_token
|
||||||
|
|||||||
Reference in New Issue
Block a user