Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword SubscriptLoad NameLoad Index Str attr If CompareNotEq NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str orelse Assign NameStore Call NameLoad keyword Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list AttributeLoad AttributeLoad NameLoad attr attr decorator_list ClassDef bases NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword SubscriptLoad NameLoad Index Str attr If CompareNotEq NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str If BoolOpOr CompareEq Call NameLoad AttributeLoad NameLoad attr Num CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad keyword Str keyword SubscriptLoad NameLoad Index Str keyword BinOpAdd Str SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr orelse If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Expr Call AttributeLoad NameLoad attr decorator_list AttributeLoad AttributeLoad NameLoad attr attr decorator_list
N/A N/A OAuth interface handlers. N/A tornado.web N/A tornado.httpclient N/A tornado.auth urllib urlencode urlparse parse_qs N/A config N/A json iheartgit.handlers BaseHandler iheartgit.models.user User N/A logging GitHubLoginHandler N/A BaseHandler N/A N/A GitHub authorization redirect handler. get N/A N/A self N/A N/A N/A Redirects the UA to GitHub authorization page. N/A N/A N/A self current_user None N/A N/A N/A N/A self redirect / N/A N/A N/A N/A self redirect N/A https://github.com/login/oauth/authorize?client_id=%s&redirect_uri=%s N/A N/A config GITHUB_ID N/A config GITHUB_CALLBACK N/A N/A GitHubCallbackHandler N/A N/A N/A tornado web RequestHandler N/A N/A GitHub post-auth callback handler. on_profile_response N/A N/A self response N/A N/A N/A Handles user profile request response. N/A N/A response error N/A N/A N/A N/A self send_error N/A N/A N/A github_user N/A N/A json loads N/A response body N/A N/A N/A N/A N/A N/A logging exception Failed to decode response. N/A N/A N/A self send_error N/A user_id None N/A current_user N/A N/A N/A N/A User objects service github nick N/A github_user N/A login first N/A N/A current_user None N/A N/A user_id N/A unicode N/A current_user id N/A N/A N/A logging info N/A GitHub user "%s" already signed up. N/A N/A github_user N/A login N/A N/A user N/A User service github nick N/A github_user N/A login url N/A github_user N/A html_url avatar_url N/A github_user N/A avatar_url N/A N/A N/A logging info N/A Saving GitHub user "%s". N/A N/A github_user N/A login N/A N/A N/A N/A N/A user save N/A N/A N/A N/A N/A N/A logging exception Failed to save user in DB. N/A N/A N/A self send_error N/A user_id N/A unicode N/A user id N/A N/A N/A self set_secure_cookie user_id user_id expires_days 365 N/A N/A N/A self redirect /#publish N/A N/A N/A self finish N/A on_callback_response N/A N/A self response N/A N/A N/A Handles access token request response. N/A N/A response error N/A N/A N/A N/A self send_error N/A N/A N/A response_data N/A parse_qs N/A response body N/A N/A N/A N/A N/A N/A self send_error N/A request N/A N/A N/A tornado httpclient HTTPRequest N/A https://api.github.com/user?access_token= N/A N/A response_data N/A access_token N/A 0 method GET N/A httpclient N/A N/A N/A tornado httpclient AsyncHTTPClient N/A N/A N/A httpclient fetch request N/A self on_profile_response N/A get N/A N/A self N/A N/A N/A GitHub OAuth callback handler. N/A body N/A client_id client_secret code redirect_uri N/A config GITHUB_ID N/A config GITHUB_SECRET N/A N/A self get_argument code N/A config GITHUB_CALLBACK N/A request N/A N/A N/A tornado httpclient HTTPRequest https://github.com/login/oauth/access_token method POST N/A N/A request body N/A urlencode body N/A N/A request headers N/A Content-Type application/x-www-form-urlencoded N/A httpclient N/A N/A N/A tornado httpclient AsyncHTTPClient N/A N/A N/A httpclient fetch request N/A self on_callback_response N/A N/A N/A tornado web asynchronous N/A TwitterHandler N/A BaseHandler N/A N/A tornado auth TwitterMixin N/A N/A Twitter authorization handler. on_profile_response N/A N/A self twitter_user N/A N/A N/A Handles user profile request response. N/A user_id None N/A current_user N/A N/A N/A N/A User objects service twitter nick N/A twitter_user N/A username first N/A N/A current_user None N/A N/A user_id N/A unicode N/A current_user id N/A N/A N/A logging info N/A Twitter user "%s" already signed up. N/A N/A twitter_user N/A username N/A N/A N/A N/A len N/A current_user auth 0 N/A N/A N/A current_user auth N/A key N/A N/A twitter_user N/A access_token N/A key N/A N/A N/A current_user auth N/A twitter_user N/A access_token N/A N/A N/A N/A N/A current_user save N/A N/A N/A N/A N/A N/A logging exception Could not update Twitter user auth token. N/A N/A self send_error N/A N/A user N/A User service twitter nick N/A twitter_user N/A username url N/A http://twitter.com/ N/A twitter_user N/A username avatar_url N/A twitter_user N/A profile_image_url N/A N/A user auth N/A twitter_user N/A access_token N/A N/A N/A logging info N/A Saving Twitter user "%s". N/A N/A twitter_user N/A username N/A N/A N/A N/A N/A user save N/A N/A N/A N/A N/A N/A logging exception Failed to save user in DB. N/A N/A N/A self send_error N/A user_id N/A unicode N/A user id N/A N/A N/A self set_secure_cookie user_id user_id expires_days 365 N/A N/A N/A self redirect /#publish N/A get N/A N/A self N/A N/A N/A Redirects the UA to Twitter authorization page or acts as callback handler. N/A N/A N/A self current_user None N/A N/A N/A N/A self redirect / N/A N/A N/A self finish N/A N/A N/A N/A self get_argument oauth_token None N/A N/A N/A N/A self get_authenticated_user N/A N/A self async_callback N/A self on_profile_response N/A N/A N/A N/A self authenticate_redirect N/A N/A N/A tornado web asynchronous N/A