AuthenticationProvider

Implement this interface as part of the authentication flow.

Method authenticate will be called by the SDK when the authentication is required.

Functions

Link copied to clipboard
abstract suspend fun authenticate(setupToken: String): Result<AuthenticationResponse>

Provided setupToken must be used to call the backend and get back the data to fill in AuthenticationResponse.