generateAuthCode

# generateAuthCode

Brief description

Generate an authentication code for a registered user.

# Parameters

Name Summary
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.


user

the user to authenticate.

Content
fun generateAuthCode(user: User, pinProvider: PinProvider, resultHandler: ResultHandler<String, MIRACLException>)