How is logout time determined? Is it straight seconds from the login time?
Or how can I prolong login time:
- After each query to IC network?
- After each shared call to IC network?
- After each mouse move over my app’s window?
How is logout time determined? Is it straight seconds from the login time?
Or how can I prolong login time:
https://agent-js.icp.xyz/auth-client/interfaces/IdleOptions.html#idleTimeout
const client = await AuthClient.create({
idleOptions: {
// timeout in ms
idleTimeout: 600_000 // 30 minutes
}
})