token
abstract fun token(reason: TokenProvider.RequestReason, trigger: TokenProvider.TokenRequestTrigger, completion: TokenCompletion)
Called when the SDK needs a token for a reason described by reason. The trigger provides additional context for why a token is needed.
Call completion when a token is available. It can be called either immediately and synchronously, or at a later point. If this is callback is never called, the SDK will be in an undefined state.