gws.base.auth.session_manager¶
Base session manager.
Source code: gws.base.auth.session_manager
Module Contents¶
- class gws.base.auth.session_manager.Config(*args, **kwargs)¶
Bases:
gws.ConfigConfiguration for the session manager.
- lifeTime: gws.Duration = '20m'¶
Session life time, counted from the last request.
- maxLifeTime: gws.Duration | None¶
Absolute session life time, counted from the login.
- class gws.base.auth.session_manager.Object¶
Bases:
gws.AuthSessionManagerBase session manager.
Reads the session life times. Subclasses implement the storage of sessions.
- configure()¶
Configuration hook.
Called when the node is initialized. Raising an exception here aborts the creation of the node.