Interface: SessionInfo
Defined in: src/auth/auth-types.ts:175
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:177
When authentication was performed.
isValid
readonlyisValid:boolean
Defined in: src/auth/auth-types.ts:181
Whether session is still valid (based on timeout).
strategyName
readonlystrategyName:string
Defined in: src/auth/auth-types.ts:179
Auth strategy used.