Reference
Arcane.session
Current Arcane session lifecycle.
This focused page is derived from the mechanically checked full member inventory.
Syntax
Arcane.session
Member kind
Namespace
Description
Current Arcane session lifecycle.
Overview
Arcane.session owns the current operating-system session lifecycle. Its logout
request is not an Arcane-only application exit and can end the user's host
session, so it belongs behind a clear, separate confirmation journey.
Availability and security
session.logout requires session.control, the Shell app type, and an
exclusive mutation boundary. Feature detection is safe; this guide deliberately
does not invoke logout in its example.
Example
const access = await globalThis.Arcane.capabilities.list();
const canRequestLogout = access.methods.includes('session.logout');
console.log('Operating-system logout admitted:', canRequestLogout);
Members
Arcane.session.logout()— Requests logout of the current host operating-system session. This is not an Arcane-only application exit, and acceptance does not prove logout completed. Shell-only; requires session.control.