generateQuickCode

# generateQuickCode


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

Generate QuickCode for a registered user.

# Parameters

user the user to generate QuickCode for.
pinProvider a callback called from the SDK, when the user PIN is required.
resultHandler a callback to handle the result of the QuickCode generation.
- If successful, the result is MIRACLSuccess with the QuickCode. - If an error occurs, the result is MIRACLError with a message. On exception, the exception object is also passed.