insertSession

abstract fun insertSession(id: String, token: String, profilePicUrl: String, name: String, surname: String, email: String, password: String, hostAddress: String, role: NovaUser.Role, language: String)

Method to insert a new session

Parameters

id

: the identifier of the user in that session

token

: the token of the user in that session

profilePicUrl

: the profile pic url of the user in that session

name

: the name of the user

surname

: the surname of the user

email

: the email of the user in that session

password

: the password of the user in that session

hostAddress

: the host address used in that session

role

: the identifier of the user in that session

language

: the language of the user