BuildHeadersCallback

interface BuildHeadersCallback

Callback interface for AuthManager.buildHeaders method

Functions

onError
Link copied to clipboard
abstract fun onError(error: ErrorCode, errorMessage: String)

Called when buildHeaders method was unable to create authentication headers

onSuccess
Link copied to clipboard
abstract fun onSuccess(headers: Map<String, String>)

Called when authentication headers were successfully created