SessionData

constructor(email: String = EMPTY_STR, phoneNumber: String = EMPTY_STR, userId: Long = LONG_INVALID, roleId: Long = LONG_INVALID, permission: List<String> = emptyList(), clientName: String = EMPTY_STR, roleName: String = EMPTY_STR, companyIds: List<Long> = emptyList(), accessToken: String = EMPTY_STR, expireTokenUTC: String = EMPTY_STR, tokenType: String = EMPTY_STR, addedOn: String = EMPTY_STR, key: String = EMPTY_STR, accessTokenFirebase: String = EMPTY_STR, accessTokenPubSub: String = EMPTY_STR, projectId: String = EMPTY_STR, topicName: String = EMPTY_STR)

Parameters

email

String is the user email.

phoneNumber

String is the user phone number.

userId

Long is the user id.

roleId

Long is the role id.

permission

List<String> is the list of permission.

clientName

String is the client name.

roleName

String is the role name.

companyIds

List<Long> is the list of company ids that the user belongs to.

accessToken

String is the access token.

expireTokenUTC

String is the expire token utc.

tokenType

String is the token type.

addedOn

String is when the user was added on.

key

String is the key.

accessTokenFirebase

String is the access token firebase.

accessTokenPubSub

String is the access token pub sub.

projectId

String is the project id related to the pub sub process.

topicName

String is the topic related to the pub sub process.