Read user session hook.
Defaults to hook which ensures that in case device is present in both context and session metadata,
their name and type needs to be equal.
Hooks called on session renew.
Defaults to noop hooks.
Time To Live of the user session (in seconds).
Storage where users sessions are stored.
User session lifetime timeouts.
Length of the generated session id.
Because base64 encoding is used underneath, this is not the string length. For example, to create a token of length 24, you want a byte length of 18.
Value of this option should not be lower than 15.