Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call NameLoad Lambda arguments args defaults SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad Lambda arguments args defaults SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr Assign NameStore Call NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str NameLoad Str Str Str Str Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Assign NameStore Call NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Return Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults kwarg body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore BinOpMod Str NameLoad Raise Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr Str CompareIs NameLoad NameLoad CompareIn NameLoad NameLoad body Continue Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str Call NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A 
    flask.ext.social.core
    ~~~~~~~~~~~~~~~~~~~~~

    This module contains the Flask-Social core

    :copyright: (c) 2012 by Matt Wright.
    :license: MIT, see LICENSE for more details.
 importlib import_module flask current_app flask_oauthlib.client OAuthRemoteApp BaseRemoteApp flask.ext.security current_user werkzeug.local LocalProxy utils get_config update_recursive views create_blueprint N/A _security N/A LocalProxy N/A N/A N/A N/A N/A N/A current_app extensions N/A security N/A _social N/A LocalProxy N/A N/A N/A N/A N/A N/A current_app extensions N/A social N/A _datastore N/A LocalProxy N/A N/A N/A N/A N/A _social datastore N/A _logger N/A LocalProxy N/A N/A N/A N/A N/A current_app logger N/A default_config N/A SOCIAL_BLUEPRINT_NAME SOCIAL_URL_PREFIX SOCIAL_CONNECT_ALLOW_VIEW SOCIAL_CONNECT_DENY_VIEW SOCIAL_POST_OAUTH_CONNECT_SESSION_KEY SOCIAL_POST_OAUTH_LOGIN_SESSION_KEY SOCIAL_APP_URL social None / / post_oauth_connect_url post_oauth_login_url http://localhost OAuthRemoteApp N/A BaseRemoteApp N/A __init__ N/A N/A self id module install N/A args kwargs N/A N/A N/A N/A BaseRemoteApp __init__ self None kwargs N/A N/A self id id N/A N/A self module module N/A get_connection N/A N/A self N/A N/A N/A N/A N/A N/A _social datastore find_connection provider_id N/A self id user_id N/A current_user id N/A get_api N/A N/A self N/A N/A N/A module N/A import_module N/A self module N/A connection N/A N/A self get_connection N/A N/A connection None N/A N/A None N/A N/A N/A module get_api connection connection consumer_key N/A self consumer_key consumer_secret N/A self consumer_secret N/A N/A _get_state N/A N/A app datastore providers N/A kwargs N/A N/A config N/A get_config app N/A key N/A N/A providers keys N/A N/A N/A N/A config pop N/A N/A key upper N/A N/A key value N/A N/A config items N/A N/A N/A kwargs N/A N/A N/A key lower value N/A N/A N/A kwargs update N/A dict app app datastore datastore providers providers N/A N/A _SocialState kwargs N/A _SocialState N/A object N/A __init__ N/A N/A self N/A kwargs N/A N/A N/A key value N/A N/A kwargs items N/A N/A N/A setattr self N/A N/A key lower value N/A __getattr__ N/A N/A self name N/A N/A N/A N/A N/A N/A N/A self providers N/A name N/A N/A N/A KeyError N/A N/A msg N/A '_SocialState' object has no attribute '%s' name N/A N/A AttributeError msg N/A N/A _get_token N/A N/A N/A N/A N/A None N/A Social N/A object N/A __init__ N/A N/A self app datastore N/A None None N/A N/A N/A self app app N/A N/A self datastore datastore N/A N/A N/A app None N/A datastore None N/A N/A N/A self _state N/A N/A self init_app app datastore N/A init_app N/A N/A self app datastore N/A None N/A N/A Initialize the application with the Social extension

        :param app: The Flask application
        :param datastore: Connection datastore instance
         N/A datastore N/A datastore N/A self datastore N/A N/A key value N/A N/A default_config items N/A N/A N/A N/A N/A app config setdefault key value N/A providers N/A dict N/A N/A key config N/A N/A N/A app config items N/A N/A N/A N/A N/A N/A key startswith SOCIAL_ N/A config None N/A key default_config N/A N/A N/A suffix N/A N/A N/A N/A key lower replace social_ N/A default_module_name N/A flask_social.providers.%s suffix N/A module_name N/A N/A config get module default_module_name N/A module N/A import_module module_name N/A config N/A update_recursive N/A module config config N/A N/A providers N/A N/A config N/A id N/A OAuthRemoteApp config N/A N/A N/A N/A providers N/A N/A config N/A id tokengetter _get_token N/A state N/A _get_state app datastore providers N/A N/A N/A app register_blueprint N/A create_blueprint state __name__ N/A N/A N/A app extensions N/A social state N/A state N/A __getattr__ N/A N/A self name N/A N/A N/A N/A getattr N/A self _state name None N/A N/A