Delete on going user authentication session.
In case session with username
and deviceId
doesn't exist,
this needs to be shallowly ignored and operation will be considered successful.
Account username.
Id of the device from where authentication is made.
Read on going user authentication session.
Account username.
Id of the device from where authentication is made.
User authentication session or null
when not found.
Insert/Replaces on going user authentication session.
Account username.
Id of the device from where authentication is made.
User authentication session.
Session ttl in seconds.
In case session is already present, when replacing it, ttl needs to be reset too.
Repository which holds on going user authentication.