BigBrotherBot v1.8.0
System Development Information for the BigBrotherBot project.

b3::lib::beaker::middleware::SessionMiddleware Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 options
 wrap_app
 environ_key

Static Public Attributes

 session = beaker_session

Private Member Functions

def _get_session

Constructor & Destructor Documentation

def b3::lib::beaker::middleware::SessionMiddleware::__init__ (   self,
  wrap_app,
  config = None,
  environ_key = 'beaker.session',
  kwargs 
)
Initialize the Session Middleware

The Session middleware will make a lazy session instance
available every request under the ``environ['beaker.session']``
key by default. The location in environ can be changed by
setting ``environ_key``.

``config``
    dict  All settings should be prefixed by 'session.'. This
    method of passing variables is intended for Paste and other
    setups that accumulate multiple component settings in a
    single dictionary. If config contains *no cache. prefixed
    args*, then *all* of the config options will be used to
    intialize the Cache objects.

``environ_key``
    Location where the Session instance will keyed in the WSGI
    environ

``**kwargs``
    All keyword arguments are assumed to be session settings and
    will override any settings found in ``config``


Member Function Documentation

def b3::lib::beaker::middleware::SessionMiddleware::__call__ (   self,
  environ,
  start_response 
)
def b3::lib::beaker::middleware::SessionMiddleware::_get_session (   self) [private]

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties