authenticate

# authenticate

Brief description

Authenticate a registered user.

# Parameters

Name Summary
accessId

provides an access id by url or camera and QR code.

authenticationUser

the user to authenticate.

pinProvider

a callback called from the SDK, when the identity PIN is required.

resultHandler



a callback to handle the result of the authentication.

  • If successful, the result is MiraclSuccess.
  • If an error occurs, the result is MiraclError with a message. On exception, the exception object is also passed.


Content
fun authenticate(authenticationUser: AuthenticationUser, accessId: String, pinProvider: PinProvider, resultHandler: ResultHandler<Unit, Error>)