AnonymousSession: {
    authenticated: false;
    lastLogoutReason?: LogoutReason;
    type: Anonymous;
}

A not authenticated user's session

Type declaration

  • authenticated: false

    Whether the user is authenticated or not.

  • Optional lastLogoutReason?: LogoutReason

    The reason the previous session ended.

  • type: Anonymous

    The union discriminant.