Module Expr Str ImportFrom alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Return Call NameLoad NameLoad orelse If CompareEq NameLoad Str body Return Call NameLoad NameLoad orelse If CompareEq NameLoad Str body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str If CompareIn Str AttributeLoad NameLoad attr body Expr Yield Call AttributeLoad NameLoad attr keyword Str keyword Str If CompareIn Str AttributeLoad NameLoad attr body Expr Yield Call AttributeLoad NameLoad attr keyword Str keyword Str If CompareIn Str AttributeLoad NameLoad attr body Expr Yield Call AttributeLoad NameLoad attr keyword Str keyword Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str keyword Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body If BoolOpAnd CompareIn Str NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Return Return Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad BoolOpAnd SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If NameLoad body Return SubscriptLoad NameLoad Index Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str keyword Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body If BoolOpAnd CompareIn Str NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str Print NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Index Num Return Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword NameLoad keyword Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str keyword Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body If BoolOpAnd CompareIn Str NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Index Num Return Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword NameLoad keyword Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A OAuth integration.
 rauth OAuth2Service N/A web N/A logging N/A json N/A logger N/A N/A logging getLogger __name__ oauth_service N/A N/A service redirect_uri N/A N/A N/A N/A service github N/A N/A N/A GitHub redirect_uri N/A N/A N/A service google N/A N/A N/A Google redirect_uri N/A N/A N/A service facebook N/A N/A N/A Facebook redirect_uri N/A get_oauth_services N/A N/A N/A N/A N/A Returns an iterator over the available oauth services.

    Each entry in the iterator will be a storage object containing
    id and name of the service. For example:

        web.storage(name='gitbub', title='GitHub')
     N/A N/A github_client_id N/A web config N/A N/A N/A N/A N/A web storage name github title GitHub N/A N/A google_client_id N/A web config N/A N/A N/A N/A N/A web storage name google title Google N/A N/A facebook_client_id N/A web config N/A N/A N/A N/A N/A web storage name facebook title Facebook N/A GitHub N/A OAuth2Service N/A N/A GitHub OAuth integration.
     __init__ N/A N/A self redirect_uri N/A N/A N/A N/A N/A OAuth2Service __init__ self client_id N/A N/A web config github_client_id client_secret N/A N/A web config github_client_secret name github authorize_url https://github.com/login/oauth/authorize access_token_url https://github.com/login/oauth/access_token base_url https://api.github.com/ N/A N/A self redirect_uri redirect_uri N/A get_authorize_url N/A N/A self N/A params N/A N/A N/A N/A params setdefault response_type code N/A N/A N/A params setdefault redirect_uri N/A self redirect_uri N/A N/A N/A params setdefault scope user:email N/A N/A N/A OAuth2Service get_authorize_url self params N/A get_auth_session N/A N/A self N/A kwargs N/A N/A N/A N/A data kwargs N/A isinstance N/A kwargs N/A data dict N/A N/A N/A N/A N/A kwargs N/A data setdefault redirect_uri N/A self redirect_uri N/A N/A N/A OAuth2Service get_auth_session self kwargs N/A get_userdata N/A N/A self code N/A N/A N/A Returns the relevant userdata from github.

        This function must be called from githun oauth callback
        and the auth code must be passed as argument.
         N/A N/A N/A session N/A N/A self get_auth_session data N/A code code N/A d N/A N/A N/A N/A session get user json N/A email N/A N/A self get_verified_email session N/A N/A email N/A N/A N/A N/A logger error N/A N/A No verified email found for this user {} format N/A d N/A login N/A N/A N/A dict name N/A d N/A name email email username N/A d N/A login github N/A d N/A login service GitHub N/A N/A N/A KeyError N/A e N/A N/A N/A N/A logger error failed to get user data from github. Error: %s N/A str e N/A get_verified_email N/A N/A self session N/A N/A N/A Finds verified email of the user using oauth session.
         N/A data N/A N/A N/A N/A session get https://api.github.com/user/emails json N/A emails N/A N/A d N/A email N/A d data N/A N/A d N/A verified N/A d N/A primary N/A emails N/A N/A N/A emails N/A 0 N/A N/A Google N/A OAuth2Service N/A N/A Google OAuth integration.
     __init__ N/A N/A self redirect_uri N/A N/A N/A N/A N/A OAuth2Service __init__ self client_id N/A N/A web config google_client_id client_secret N/A N/A web config google_client_secret name google authorize_url https://accounts.google.com/o/oauth2/auth access_token_url https://accounts.google.com/o/oauth2/token base_url https://www.googleapis.com/oauth2/v1/ N/A N/A self redirect_uri redirect_uri N/A get_authorize_url N/A N/A self N/A params N/A N/A N/A N/A params setdefault response_type code N/A N/A N/A params setdefault redirect_uri N/A self redirect_uri N/A N/A N/A params setdefault scope profile email N/A N/A N/A OAuth2Service get_authorize_url self params N/A get_auth_session N/A N/A self N/A kwargs N/A N/A N/A N/A data kwargs N/A isinstance N/A kwargs N/A data dict N/A N/A N/A N/A N/A kwargs N/A data setdefault redirect_uri N/A self redirect_uri N/A N/A N/A N/A kwargs N/A data setdefault grant_type authorization_code N/A kwargs N/A N/A N/A OAuth2Service get_auth_session self kwargs N/A get_userdata N/A N/A self code N/A N/A N/A Returns the relevant userdata from github.

        This function must be called from githun oauth callback
        and the auth code must be passed as argument.
         N/A N/A N/A session N/A N/A self get_auth_session data N/A code code decoder N/A json loads N/A d N/A N/A N/A N/A session get userinfo json N/A username N/A N/A N/A N/A d N/A email split @ N/A 0 N/A N/A dict name N/A d N/A name email N/A d N/A email username username service Google N/A N/A N/A KeyError N/A e N/A N/A N/A N/A logger error failed to get user data from google. Error: %s N/A str e exc_info True N/A N/A Facebook N/A OAuth2Service N/A N/A Facebook OAuth integration.
     __init__ N/A N/A self redirect_uri N/A N/A N/A N/A N/A OAuth2Service __init__ self client_id N/A N/A web config facebook_client_id client_secret N/A N/A web config facebook_client_secret name facebook authorize_url https://graph.facebook.com/oauth/authorize access_token_url https://graph.facebook.com/oauth/access_token base_url https://graph.facebook.com/ N/A N/A self redirect_uri redirect_uri N/A get_authorize_url N/A N/A self N/A params N/A N/A N/A N/A params setdefault response_type code N/A N/A N/A params setdefault redirect_uri N/A self redirect_uri N/A N/A N/A params setdefault scope email N/A N/A N/A OAuth2Service get_authorize_url self params N/A get_auth_session N/A N/A self N/A kwargs N/A N/A N/A N/A data kwargs N/A isinstance N/A kwargs N/A data dict N/A N/A N/A N/A N/A kwargs N/A data setdefault redirect_uri N/A self redirect_uri N/A N/A N/A N/A kwargs N/A data setdefault grant_type authorization_code N/A N/A N/A OAuth2Service get_auth_session self kwargs N/A get_userdata N/A N/A self code N/A N/A N/A Returns the relevant userdata from github.

        This function must be called from githun oauth callback
        and the auth code must be passed as argument.
         N/A N/A N/A session N/A N/A self get_auth_session data N/A code redirect_uri code N/A self redirect_uri N/A d N/A N/A N/A N/A session get me json N/A username N/A N/A N/A N/A d N/A email split @ N/A 0 N/A N/A dict name N/A d N/A name email N/A d N/A email username username service Facebook N/A N/A N/A KeyError N/A e N/A N/A N/A N/A logger error failed to get user data from facebook. Error: %s N/A str e exc_info True N/A N/A