Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
main.OAuthHandler Class Reference
Inheritance diagram for main.OAuthHandler:

Public Member Functions

 get (self)
 

Detailed Description

Definition at line 743 of file main.py.

Member Function Documentation

◆ get()

main.OAuthHandler.get (   self)

Definition at line 746 of file main.py.

746 def get(self):
747 user = users.get_current_user()
748 flow = pickle.loads(memcache.get(user.user_id()))
749 if flow:
750 prefs = UserData.get_or_insert(user.user_id())
751 prefs.credentials = flow.step2_exchange(self.request.params)
752 prefs.put()
753 self.redirect('/update/user')
754 else:
755 pass
756
757

The documentation for this class was generated from the following file: