OauthSession

interface OauthSession

Interface that defines the OAuth properties of a Sensibill User. Properties will be used to perform authorized API calls on behalf of user.

Properties

accessToken
Link copied to clipboard
abstract val accessToken: String
The OAuth token used to make API calls on behalf of user
expiresIn
Link copied to clipboard
abstract val expiresIn: Int?
Number of seconds until the token expires
refreshExpiresIn
Link copied to clipboard
abstract val refreshExpiresIn: Int?
The number of seconds until the refresh token has expires
tokenId
Link copied to clipboard
abstract val tokenId: String
Unique identifier for OAuth token
tokenType
Link copied to clipboard
abstract val tokenType: String
The type of token