ManagerCore

abstract class ManagerCore(source)

An abstract class providing core functionalities for manager classes. This class handles token management, synchronicity control, and HMAC token generation for API requests.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Determines the appropriate oauth token for any given query. This can be either the access token or the user token. Default behavior is to return the user token if available and fall back to the access token if not. Order of precedence:

Link copied to clipboard
Link copied to clipboard

Used to control manager's synchronous state. Default is asynchronous

Link copied to clipboard

Token that is used a single time. Once used, it should be set to null

Functions

Link copied to clipboard
fun getAvailableHMACToken(key: String, timeStamp: String?, body: String): String

Calcualtes the HMAC token and appends it to the appropriate token for more security