Interface: SessionInfo
Defined in: src/auth/auth-types.ts:164
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​
const session: SessionInfo = {
authenticatedAt: Date.now(),
strategyName: 'onprem',
isValid: true,
};
Properties​
authenticatedAt​
readonlyauthenticatedAt:number
Defined in: src/auth/auth-types.ts:166
When authentication was performed.
isValid​
readonlyisValid:boolean
Defined in: src/auth/auth-types.ts:170
Whether session is still valid (based on timeout).
strategyName​
readonlystrategyName:string
Defined in: src/auth/auth-types.ts:168
Auth strategy used.