Module Expr Str ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMod Str NameLoad Assign AttributeStore NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call NameLoad NameLoad keyword SubscriptLoad NameLoad Index Str Return Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Str AttributeLoad NameLoad attr body Return Call NameLoad Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore Dict Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Dict Assign SubscriptStore NameLoad Index Str ListLoad Dict Str Str Str Str SubscriptLoad NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad keyword NameLoad If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Dict Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str ListLoad Dict Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str ListLoad Dict Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str ListLoad Dict Str SubscriptLoad NameLoad Index Str If Call AttributeLoad NameLoad attr Str body Assign NameStore BinOpDiv Call NameLoad SubscriptLoad NameLoad Index Str Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpMult Call NameLoad BinOpSub NameLoad NameLoad Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr keyword NameLoad keyword NameLoad Return Call NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Twitter Authentication Views pyramid.httpexceptions HTTPFound pyramid.security NO_PERMISSION_REQUIRED N/A requests requests_oauthlib OAuth1 api AuthenticationComplete AuthenticationDenied register_provider compat parse_qsl exceptions ThirdPartyFailure settings ProviderSettings utils flat_url N/A REQUEST_URL https://api.twitter.com/oauth/request_token N/A AUTH_URL https://api.twitter.com/oauth/authenticate N/A ACCESS_URL https://api.twitter.com/oauth/access_token N/A DATA_URL https://api.twitter.com/1.1/users/show.json?screen_name=%s TwitterAuthenticationComplete N/A AuthenticationComplete N/A N/A Twitter auth complete N/A includeme N/A N/A config N/A N/A N/A N/A N/A config add_directive add_twitter_login add_twitter_login N/A N/A N/A config add_directive add_twitter_login_from_settings add_twitter_login_from_settings N/A add_twitter_login_from_settings N/A N/A config prefix N/A velruse.twitter. N/A N/A settings N/A N/A config registry settings N/A p N/A ProviderSettings settings prefix N/A N/A N/A p update consumer_key required True N/A N/A N/A p update consumer_secret required True N/A N/A N/A p update login_path N/A N/A N/A p update callback_path N/A N/A N/A config add_twitter_login N/A p kwargs N/A add_twitter_login N/A N/A config consumer_key consumer_secret login_path callback_path name N/A /login/twitter /login/twitter/callback twitter N/A N/A 
    Add a Twitter login provider to the application.
     N/A provider N/A TwitterProvider name consumer_key consumer_secret N/A N/A N/A config add_route N/A provider login_route login_path N/A N/A N/A config add_view provider attr login route_name N/A provider login_route permission NO_PERMISSION_REQUIRED N/A N/A N/A config add_route N/A provider callback_route callback_path use_global_views True factory N/A provider callback N/A N/A register_provider config name provider N/A TwitterProvider N/A object N/A __init__ N/A N/A self name consumer_key consumer_secret N/A N/A N/A N/A self name name N/A N/A self type twitter N/A N/A self consumer_key consumer_key N/A N/A self consumer_secret consumer_secret N/A N/A self login_route N/A velruse.%s-login name N/A N/A self callback_route N/A velruse.%s-callback name N/A login N/A N/A self request N/A N/A N/A Initiate a Twitter login N/A oauth N/A OAuth1 N/A self consumer_key client_secret N/A self consumer_secret callback_uri N/A N/A request route_url N/A self callback_route N/A resp N/A N/A requests post REQUEST_URL auth oauth N/A N/A N/A resp status_code 200 N/A N/A N/A ThirdPartyFailure N/A Status %s: %s N/A N/A resp status_code N/A resp content N/A request_token N/A dict N/A parse_qsl N/A resp text N/A N/A N/A request session N/A velruse.token request_token N/A auth_url N/A flat_url AUTH_URL oauth_token N/A request_token N/A oauth_token N/A N/A HTTPFound location auth_url N/A callback N/A N/A self request N/A N/A N/A Process the Twitter redirect N/A N/A denied N/A request GET N/A N/A N/A AuthenticationDenied User denied authentication provider_name N/A self name provider_type N/A self type N/A verifier N/A N/A N/A request GET get oauth_verifier N/A N/A verifier N/A N/A N/A ThirdPartyFailure No oauth_verifier returned N/A request_token N/A N/A N/A request session pop velruse.token N/A oauth N/A OAuth1 N/A self consumer_key client_secret N/A self consumer_secret resource_owner_key N/A request_token N/A oauth_token resource_owner_secret N/A request_token N/A oauth_token_secret verifier verifier N/A resp N/A N/A requests post ACCESS_URL auth oauth N/A N/A N/A resp status_code 200 N/A N/A N/A ThirdPartyFailure N/A Status %s: %s N/A N/A resp status_code N/A resp content N/A access_token N/A dict N/A parse_qsl N/A resp text N/A creds N/A oauthAccessToken oauthAccessTokenSecret N/A access_token N/A oauth_token N/A access_token N/A oauth_token_secret N/A username N/A access_token N/A screen_name N/A profile N/A N/A N/A profile N/A accounts N/A N/A domain userid username twitter.com N/A access_token N/A user_id username N/A N/A profile N/A displayName username N/A N/A profile N/A preferredUsername username N/A oauth N/A OAuth1 N/A self consumer_key client_secret N/A self consumer_secret resource_owner_key N/A access_token N/A oauth_token resource_owner_secret N/A access_token N/A oauth_token_secret N/A resp N/A N/A requests get N/A DATA_URL username auth oauth N/A N/A N/A resp status_code 200 N/A N/A data N/A N/A resp json N/A N/A name data N/A N/A N/A profile N/A displayName N/A data N/A name N/A N/A profile N/A name N/A formatted N/A profile N/A displayName N/A N/A url data N/A N/A N/A profile N/A urls N/A N/A value N/A data N/A url N/A N/A location data N/A N/A N/A profile N/A addresses N/A N/A formatted N/A data N/A location N/A N/A profile_image_url data N/A N/A N/A profile N/A photos N/A N/A value N/A data N/A profile_image_url N/A N/A N/A data get utc_offset N/A N/A offset N/A N/A float N/A data N/A utc_offset 3600 N/A h N/A int offset N/A m N/A int N/A N/A abs N/A offset h 60 N/A N/A profile N/A utcOffset N/A N/A {h:+03d}:{m:02d} format h h m m N/A N/A TwitterAuthenticationComplete profile profile credentials creds provider_name N/A self name provider_type N/A self type N/A N/A