The simple auth backend uses cookies to store a session identifier which consists of the midgard person GUID.

The validity of the cookie will be controlled by the configuration options auth_backend_simple_cookie_path and auth_backend_simple_cookie_domain:

The path defaults to midcom_connection::get_url('self'). If the domain is set to null (the default), no domain is specified in the cookie, making it a traditional site-specific session cookie. If it is set, the domain parameter of the cookie will be set accordingly.

The basic cookie id (username prefix) is taken from the config option auth_backend_simple_cookie_id, which defaults to the current host GUID.



__construct ($auth)

Read the configuration