com.getsensibill.sensibillauth / SensibillUser
SensibillUser
class SensibillUser :
Serializable
Class that defines the Authentication properties of a Sensibill User
Constructors
Name | Summary |
---|---|
<init> | SensibillUser(tokenType: String ?, accessToken: String ?, refreshToken: String ?, tokenId: String ?, expiresIn: Int ?, refreshExpiresIn: Int ?, mAccessId: String ) Class that defines the Authentication properties of a Sensibill User |
Properties
Name | Summary |
---|---|
accessToken | var accessToken: String ? Token which uniquely identifies a users session. Used to make API calls on behalf of the user |
expiresIn | var expiresIn: Int ? The number of seconds until access token expires |
mAccessId | var mAccessId: String User identifier |
mAccessTokenExpiry | var mAccessTokenExpiry: String ? String representation of the date when the access token will expire |
mRefreshTokenExpiry | var mRefreshTokenExpiry: String ? String representation of the date when the refresh token will expire |
refreshExpiresIn | var refreshExpiresIn: Int ? The number of seconds until refresh token expires |
refreshToken | var refreshToken: String ? Token which is used to obtain a new access token on behalf of user |
tokenId | var tokenId: String ? The unique identifier of the access token |
tokenType | var tokenType: String ? The type of the token. For Sensibill Users currently always “bearer” |