View on GitHub

sensibill-android-documentation

com.getsensibill.oauthclient / OauthSession

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

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