Information about the current authentication session.
Tracks when authentication was performed and whether the session is still considered valid based on timeout configuration.
const session: SessionInfo = { authenticatedAt: Date.now(), strategyName: 'onprem', isValid: true,}; Copy
const session: SessionInfo = { authenticatedAt: Date.now(), strategyName: 'onprem', isValid: true,};
Readonly
When authentication was performed.
Whether session is still valid (based on timeout).
Auth strategy used.
Information about the current authentication session.
Remarks
Tracks when authentication was performed and whether the session is still considered valid based on timeout configuration.
Example