the id of the loginUser for whom we are adding a session key
the new session key
the new record in the database in a promise
checks if the session key exists
the loginUser associated with the key in a promise if the keys is valid otherwise an error in a promise
the updated record in a promise
the id of the loginUser whose session keys we want to remove
a promise with the number of deleted records
deletes all session keys of the user that has the given key
a key of a user whose keys we want to delete
the number of deleted records in a promise
Generated using TypeDoc
adds session key to loginUser