SensibillUser

class SensibillUser(tokenType: String?, accessToken: String?, refreshToken: String?, tokenId: String?, expiresIn: Int?, refreshExpiresIn: Int?, mAccessId: String) : Serializable

Class that defines the Authentication properties of a Sensibill User

Constructors

SensibillUser
Link copied to clipboard
fun SensibillUser(tokenType: String?, accessToken: String?, refreshToken: String?, tokenId: String?, expiresIn: Int?, refreshExpiresIn: Int?, mAccessId: String)

Properties

accessToken
Link copied to clipboard
var accessToken: String?
Token which uniquely identifies a users session.
expiresIn
Link copied to clipboard
var expiresIn: Int?
The number of seconds until access token expires
mAccessId
Link copied to clipboard
var mAccessId: String
User identifier
mAccessTokenExpiry
Link copied to clipboard
var mAccessTokenExpiry: String? = null
String representation of the date when the access token will expire
mRefreshTokenExpiry
Link copied to clipboard
var mRefreshTokenExpiry: String? = null
String representation of the date when the refresh token will expire
refreshExpiresIn
Link copied to clipboard
var refreshExpiresIn: Int?
The number of seconds until refresh token expires
refreshToken
Link copied to clipboard
var refreshToken: String?
Token which is used to obtain a new access token on behalf of user
tokenId
Link copied to clipboard
var tokenId: String?
The unique identifier of the access token
tokenType
Link copied to clipboard
var tokenType: String?
The type of the token.