I am guessing,
You need a Login success handler. Read the following to understand that
You can also write an EventListener for Controller/Kernel Request Events where you can compare idle times of a user.
To my knowledge, it is not a good idea to add parameters values for this kind of requirement.
If you need to destroy a user session, why not set the login time at the authentication success handler (can save it on session or user entity last login), and at the controller listener you can compare the length of the login and reset the users session?