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

Link copied to clipboard
abstract val accessToken: String

The OAuth token used to make API calls on behalf of user

Link copied to clipboard
abstract val expiresIn: Int?

Number of seconds until the token expires

Link copied to clipboard
abstract val refreshExpiresIn: Int?

The number of seconds until the refresh token has expires

Link copied to clipboard
abstract val tokenId: String

Unique identifier for OAuth token

Link copied to clipboard
abstract val tokenType: String

The type of token