SessionData
data class SessionData(val email: String = EMPTY_STR, val phoneNumber: String = EMPTY_STR, val userId: Long = LONG_INVALID, val roleId: Long = LONG_INVALID, val permission: List<String> = emptyList(), val clientName: String = EMPTY_STR, val roleName: String = EMPTY_STR, val companyIds: List<Long> = emptyList(), val accessToken: String = EMPTY_STR, val expireTokenUTC: String = EMPTY_STR, val tokenType: String = EMPTY_STR, val addedOn: String = EMPTY_STR, val key: String = EMPTY_STR, val accessTokenFirebase: String = EMPTY_STR, val accessTokenPubSub: String = EMPTY_STR, val projectId: String = EMPTY_STR, val topicName: String = EMPTY_STR)
SessionData is the collected session data.
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.
clientName
String is the client name.
roleName
String is the role name.
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.
Constructors
Link copied to clipboard
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)