generateAuthCode

# generateAuthCode

Brief description

Generate an authentication code for a registered user.

# Parameters

Name Summary
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 generateAuthCode(authenticationUser: AuthenticationUser, pinProvider: PinProvider, resultHandler: ResultHandler<String, Error>)