Ejemplo n.º 1
0
 def __init__(self, scope, token_file_name, redirect):
     """
     Parameters
     ----------
     scope : str
         Designates the authentication scope
     token_file_name : str
         Location of cache for authenticated tokens
     redirect : str
         Redirect URL
     """
     self.scope = scope
     self.token_store = auth.make_token_store(token_file_name)
     self.redirect_url = redirect
Ejemplo n.º 2
0
 def __init__(self, scope, token_file_name, redirect):
     """
     Parameters
     ----------
     scope : str
         Designates the authentication scope
     token_file_name : str
         Location of cache for authenticated tokens
     redirect : str
         Redirect URL
     """
     self.scope = scope
     self.token_store = auth.make_token_store(token_file_name)
     self.redirect_url = redirect