Module ImportFrom alias alias ImportFrom alias Import alias alias ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword 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 Assign NameStore Call NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad decorator_list
N/A Mojo.ObjectMapper.ModelPrototype Model EmbeddedModelField Mojo.ObjectMapper.Fields * N/A uuid datetime Profile N/A Model N/A N/A 
    Represents a user profile - currently cannot be extended. Is an embedded document in a ``User`` object.
     N/A _id N/A ObjectIDField N/A first_name N/A StringField N/A last_name N/A StringField N/A Group N/A Model N/A N/A 
    Group definition - consists only of the name of the group, is part of a ``ListField`` in the ``User`` object
     N/A _id N/A ObjectIDField N/A group_name N/A StringField allow_empty False N/A User N/A Model N/A N/A 
    Main User model used by the ``Mojo.Auth`` modules, consists of multiple fields:

    - ``username``: The username of the user (required)
    - ``password``: The ``bcrypt`` encrypted password (required)
    - ``email``: the email address of the user (optional)
    - ``groups``: A list field of ``Group`` objects that the user belongs to
    - ``active``: Is the user active, and allowed in?
    - ``profile``: An embedded field that uses the ``Profile`` model
    - ``is_superuser``: Flag to indicate super user status (``BooleanField``)
    - ``last_login``: ``DateTimeField`` with last login date/time
    - ``date_joined``: Can be set to when the user joined (``DateTimeField``)

     N/A _id N/A ObjectIDField N/A username N/A StringField allow_empty False N/A password N/A StringField allow_empty False N/A email N/A StringField N/A groups N/A ListField of Group N/A active N/A BooleanField default True N/A profile N/A EmbeddedModelField to Profile N/A is_superuser N/A BooleanField default False N/A last_login N/A DateTimeField N/A date_joined N/A DateTimeField N/A Session N/A Model N/A N/A 
    The ``Session`` object is mainly used as part of the ``SessionManager`` class and the ``SessionMixin`` mix-in base class.

    This should **not** be manipulated directly, but stores any session information in the ``session_data`` database field.

    Data stored in ``session_data`` is a JSON string that is base64 encoded, user log in flags are *not* stored in ``session_data`` to
    avoid hitting the database every time ``current_user`` is queried in a request.
     N/A _id N/A ObjectIDField N/A session_key N/A StringField allow_empty False N/A session_data N/A StringField N/A session_expires N/A DateTimeField N/A