# generateQuickCode

fun generateQuickCode(user: User, pinProvider: PinProvider, resultHandler: ResultHandler<QuickCode, MIRACLException>)

Generate Quick Code for a registered authentication user.

# Parameters

user 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 Quick Code generation.
  • 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.