OnAuth

interface OnAuth : Callback

Authentication callback for authInternally, addIdentity, ...

Types

AuthProvider
Link copied to clipboard
enum AuthProvider
AuthResponse
Link copied to clipboard
open class AuthResponse
Authentication response data passed to the onComplete method of the authentication callback.
Identity
Link copied to clipboard
interface Identity
Identity data associated to an authenticated user.

Functions

onComplete
Link copied to clipboard
abstract fun onComplete(@Nullable response: OnAuth.AuthResponse)
Called when the authentication is successful
onError
Link copied to clipboard
abstract fun onError(error: Null)
Called when an error happens
abstract fun onError(error: WebcomError)
Called when the authentication fails and/or the token is invalid

Inheritors

OnAuthWithOAuth
Link copied to clipboard
OnAuthExtended
Link copied to clipboard