onCancel

abstract fun onCancel(error: WebcomError)

This callback is called when the final user cancels the authentication operation, typically by closing the authentication WebView (using the 'back' button). This may also be called when the WebView encounters network failures to display the authentication page served by the provider.

Parameters

error

The error describing the cancellation reason.