LoyaltyAccessToken

data class LoyaltyAccessToken(val accessToken: String, val expiresIn: Int?, val tokenType: String, val scope: String?)

Represents the structure of the loyalty access token used by the client to interact with the Loyalty SDK. It includes the access token and additional details required for client authentication.

Constructors

Link copied to clipboard
constructor(accessToken: String, expiresIn: Int?, tokenType: String, scope: String?)

Properties

Link copied to clipboard

The newly-obtained access token.

Link copied to clipboard

The lifetime of the access token, in seconds.

Link copied to clipboard

The effective scope of the newly-obtained token.

Link copied to clipboard

The type of the token. Currently only bearer tokens are emitted.