Session

class Session(userIdentifier: String, environment: SBEnvironment, tokenProvider: TokenProvider?)

Defines basic session properties that the Sensibill SDK will use to build API requests

Constructors

Session
Link copied to clipboard
fun Session(userIdentifier: String, environment: SBEnvironment, tokenProvider: TokenProvider?)

Properties

environment
Link copied to clipboard
var environment: SBEnvironment
Sensibill Backend environment this session is tied to
tokenProvider
Link copied to clipboard
var tokenProvider: TokenProvider?
Token Provider used by the SDK to get new tokens
userIdentifier
Link copied to clipboard
var userIdentifier: String
User identifier of Sensibill user session belongs to