BuildHeadersCallback

interface BuildHeadersCallback

Callback interface for Auth.buildHeaders method

Functions

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

Called when Auth.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