Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias alias FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad For NameStore ListLoad Str Str Str Str Str Str body Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd Str Call AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr body Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Return Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str Call NameLoad Str FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str NameLoad FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str Call NameLoad Str Str Str FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str Call NameLoad Str FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str Call NameLoad Str Str FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str Call NameLoad Str Str FunctionDef arguments args defaults body Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return Str decorator_list Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias Assign NameStore BinOpMod Str Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Dict Str Str Str Str NameLoad Str Num NameLoad Assign NameStore Call NameLoad NameLoad ClassDef bases AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Dict Str NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword ListLoad Assign NameStore Dict Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body ImportFrom alias Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd Str NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Call AttributeLoad NameLoad attr Str keyword Str decorator_list With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body ImportFrom alias alias alias alias alias ImportFrom alias Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Dict Str Str NameLoad Str Assign NameStore Call NameLoad NameLoad ClassDef bases AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr decorator_list With Call AttributeLoad NameLoad attr body For NameStore TupleLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list Return NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list Return NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list Return NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults kwarg body Assign NameStore BinOpMod SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index BinOpAdd Str NameLoad Index Num NameLoad Return Call AttributeLoad NameLoad attr Str decorator_list Return NameLoad decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Return NameLoad decorator_list Call AttributeLoad NameLoad attr keyword ListLoad Str Str Str
N/A N/A 
    conftest
    ~~~~~~~~

    Test fixtures and what not
 N/A os N/A tempfile N/A time N/A pytest flask Flask render_template flask_mail Mail flask_security Security MongoEngineUserDatastore SQLAlchemyUserDatastore PeeweeUserDatastore UserMixin RoleMixin http_auth_required login_required auth_token_required auth_required roles_required roles_accepted utils populate_data Response app N/A N/A request N/A N/A N/A app N/A Flask __name__ N/A N/A app response_class Response N/A N/A app debug True N/A N/A N/A app config N/A SECRET_KEY secret N/A N/A N/A app config N/A TESTING True N/A N/A N/A app config N/A LOGIN_DISABLED False N/A N/A N/A app config N/A WTF_CSRF_ENABLED False N/A opt N/A changeable recoverable registerable trackable passwordless confirmable N/A N/A N/A N/A app config N/A N/A SECURITY_ N/A N/A opt upper N/A opt N/A request keywords N/A N/A settings N/A request keywords N/A N/A N/A key value N/A N/A N/A N/A N/A request keywords N/A settings kwargs items N/A N/A N/A N/A app config N/A N/A SECURITY_ N/A N/A key upper value N/A mail N/A Mail app N/A N/A app mail mail index N/A N/A N/A N/A N/A N/A render_template index.html content Home Page N/A N/A N/A app route / profile N/A N/A N/A N/A N/A N/A render_template index.html content Profile Page N/A N/A N/A app route /profile login_required post_login N/A N/A N/A N/A N/A N/A render_template index.html content Post Login N/A N/A N/A app route /post_login login_required http N/A N/A N/A N/A N/A HTTP Authentication N/A N/A N/A app route /http http_auth_required http_custom_realm N/A N/A N/A N/A N/A N/A render_template index.html content HTTP Authentication N/A N/A N/A app route /http_custom_realm N/A http_auth_required My Realm token N/A N/A N/A N/A N/A N/A render_template index.html content Token Authentication N/A N/A N/A app route /token methods N/A GET POST auth_token_required multi_auth N/A N/A N/A N/A N/A N/A render_template index.html content Session, Token, Basic auth N/A N/A N/A app route /multi_auth N/A auth_required session token basic post_logout N/A N/A N/A N/A N/A N/A render_template index.html content Post Logout N/A N/A N/A app route /post_logout post_register N/A N/A N/A N/A N/A N/A render_template index.html content Post Register N/A N/A N/A app route /post_register admin N/A N/A N/A N/A N/A N/A render_template index.html content Admin Page N/A N/A N/A app route /admin N/A roles_required admin admin_and_editor N/A N/A N/A N/A N/A N/A render_template index.html content Admin and Editor Page N/A N/A N/A app route /admin_and_editor N/A roles_required admin editor admin_or_editor N/A N/A N/A N/A N/A N/A render_template index.html content Admin or Editor Page N/A N/A N/A app route /admin_or_editor N/A roles_accepted admin editor unauthorized N/A N/A N/A N/A N/A N/A render_template unauthorized.html N/A N/A N/A app route /unauthorized page_1 N/A N/A N/A N/A N/A Page 1 N/A N/A N/A app route /page1 N/A app N/A N/A N/A pytest fixture mongoengine_datastore N/A N/A request app N/A N/A flask_mongoengine MongoEngine N/A db_name N/A flask_security_test_%s N/A N/A N/A str N/A N/A time time replace . _ N/A N/A N/A app config N/A MONGODB_SETTINGS N/A db host port alias db_name localhost 27017 db_name N/A db N/A MongoEngine app Role N/A N/A db Document RoleMixin N/A N/A name N/A N/A db StringField required True unique True max_length 80 N/A description N/A N/A db StringField max_length 255 N/A meta N/A db_alias db_name N/A User N/A N/A db Document UserMixin N/A N/A email N/A N/A db StringField unique True max_length 255 N/A username N/A N/A db StringField max_length 255 N/A password N/A N/A db StringField required False max_length 255 N/A last_login_at N/A N/A db DateTimeField N/A current_login_at N/A N/A db DateTimeField N/A last_login_ip N/A N/A db StringField max_length 100 N/A current_login_ip N/A N/A db StringField max_length 100 N/A login_count N/A N/A db IntField N/A active N/A N/A db BooleanField default True N/A confirmed_at N/A N/A db DateTimeField N/A roles N/A N/A db ListField N/A N/A db ReferenceField Role default N/A N/A meta N/A db_alias db_name N/A N/A N/A N/A request addfinalizer N/A N/A N/A N/A N/A N/A N/A db connection drop_database db_name N/A N/A MongoEngineUserDatastore db User Role N/A N/A N/A pytest fixture sqlalchemy_datastore N/A N/A request app tmpdir N/A N/A flask_sqlalchemy SQLAlchemy N/A N/A f path N/A N/A tempfile mkstemp prefix flask-security-test-db suffix .db dir N/A str tmpdir N/A N/A N/A app config N/A SQLALCHEMY_DATABASE_URI N/A sqlite:/// path N/A db N/A SQLAlchemy app N/A roles_users N/A N/A db Table roles_users N/A N/A db Column user_id N/A N/A db Integer N/A N/A db ForeignKey user.id N/A N/A db Column role_id N/A N/A db Integer N/A N/A db ForeignKey role.id Role N/A N/A db Model RoleMixin N/A N/A id N/A N/A db Column N/A N/A db Integer primary_key True N/A name N/A N/A db Column N/A N/A db String 80 unique True N/A description N/A N/A db Column N/A N/A db String 255 N/A User N/A N/A db Model UserMixin N/A N/A id N/A N/A db Column N/A db Integer primary_key True N/A email N/A N/A db Column N/A N/A db String 255 unique True N/A username N/A N/A db Column N/A N/A db String 255 N/A password N/A N/A db Column N/A N/A db String 255 N/A last_login_at N/A N/A db Column N/A N/A db DateTime N/A current_login_at N/A N/A db Column N/A N/A db DateTime N/A last_login_ip N/A N/A db Column N/A N/A db String 100 N/A current_login_ip N/A N/A db Column N/A N/A db String 100 N/A login_count N/A N/A db Column N/A db Integer N/A active N/A N/A db Column N/A N/A db Boolean N/A confirmed_at N/A N/A db Column N/A N/A db DateTime N/A roles N/A N/A db relationship Role secondary roles_users backref N/A N/A db backref users lazy dynamic N/A N/A N/A N/A app app_context N/A N/A N/A N/A db create_all N/A N/A N/A request addfinalizer N/A N/A N/A N/A N/A N/A os remove path N/A N/A SQLAlchemyUserDatastore db User Role N/A N/A N/A pytest fixture peewee_datastore N/A N/A request app tmpdir N/A N/A peewee TextField DateTimeField IntegerField BooleanField ForeignKeyField flask_peewee.db Database N/A N/A f path N/A N/A tempfile mkstemp prefix flask-security-test-db suffix .db dir N/A str tmpdir N/A N/A N/A app config N/A DATABASE N/A name engine path peewee.SqliteDatabase N/A db N/A Database app Role N/A N/A db Model RoleMixin N/A N/A name N/A TextField unique True N/A description N/A TextField null True N/A User N/A N/A db Model UserMixin N/A N/A email N/A TextField N/A username N/A TextField N/A password N/A TextField null True N/A last_login_at N/A DateTimeField null True N/A current_login_at N/A DateTimeField null True N/A last_login_ip N/A TextField null True N/A current_login_ip N/A TextField null True N/A login_count N/A IntegerField null True N/A active N/A BooleanField default True N/A confirmed_at N/A DateTimeField null True N/A UserRoles N/A N/A db Model N/A N/A  Peewee does not have built-in many-to-many support, so we have to
        create this mapping class to link users to roles. N/A user N/A ForeignKeyField User related_name roles N/A role N/A ForeignKeyField Role related_name users N/A name N/A property N/A N/A N/A self N/A N/A N/A self role name N/A description N/A property N/A N/A N/A self N/A N/A N/A self role description N/A N/A N/A N/A app app_context N/A N/A Model N/A Role User UserRoles N/A N/A N/A N/A Model create_table N/A N/A N/A request addfinalizer N/A N/A N/A N/A N/A N/A os remove path N/A N/A PeeweeUserDatastore db User Role UserRoles N/A N/A N/A pytest fixture sqlalchemy_app N/A N/A app sqlalchemy_datastore N/A N/A create N/A N/A N/A N/A N/A N/A app security N/A Security app datastore sqlalchemy_datastore N/A app N/A N/A create N/A N/A N/A pytest fixture peewee_app N/A N/A app peewee_datastore N/A N/A create N/A N/A N/A N/A N/A N/A app security N/A Security app datastore peewee_datastore N/A app N/A N/A create N/A N/A N/A pytest fixture mongoengine_app N/A N/A app mongoengine_datastore N/A N/A create N/A N/A N/A N/A N/A N/A app security N/A Security app datastore mongoengine_datastore N/A app N/A N/A create N/A N/A N/A pytest fixture client N/A N/A request sqlalchemy_app N/A N/A N/A app N/A sqlalchemy_app N/A N/A populate_data app N/A N/A N/A app test_client N/A N/A N/A pytest fixture get_message N/A N/A app N/A N/A fn N/A N/A key N/A kwargs N/A N/A rv N/A N/A N/A N/A app config N/A N/A SECURITY_MSG_ key N/A 0 kwargs N/A N/A N/A rv encode utf-8 N/A N/A fn N/A N/A N/A pytest fixture datastore N/A N/A request sqlalchemy_datastore mongoengine_datastore peewee_datastore N/A N/A N/A N/A N/A request param sqlalchemy N/A N/A rv sqlalchemy_datastore N/A N/A N/A N/A request param mongoengine N/A N/A rv mongoengine_datastore N/A N/A N/A N/A request param peewee N/A N/A rv peewee_datastore N/A rv N/A N/A N/A pytest fixture params N/A sqlalchemy mongoengine peewee