$identity public property The identity object associated with
$duration public property Number of seconds that the user can
$cookieBased public property Whether the login is cookie-based
$isValid public property Whether the login or logout should proceed