BuildHeadersCallback

interface BuildHeadersCallback

Callback interface for Auth.buildHeaders method

Functions

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

Called when Auth.buildHeaders method was unable to create authentication headers

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

Called when authentication headers were successfully created