<s> """<STR_LIT>""" <EOL> from google . appengine . api import users <EOL> class GaeGoogleAccount ( object ) : <EOL> """<STR_LIT>""" <EOL> def login_url ( self , next = "<STR_LIT:/>" ) : <EOL> return users . create_login_url ( next ) <EOL> def logout_url ( self , next = "<STR_LIT:/>" ) : <EOL> return users . create_logout_url ( next ) <EOL> def get_user ( self ) : <EOL> user = users . get_current_user ( ) <EOL> if user : <EOL> return dict ( nickname = user . nickname ( ) , email = user . email ( ) , <EOL> user_id = user . user_id ( ) , source = "<STR_LIT>" ) </s>
