authenticateWithQRCode

# authenticateWithQRCode


fun authenticateWithQRCode(user: User, qrCode: String, pinProvider: PinProvider, resultHandler: ResultHandler<Unit, AuthenticationException>)

Authenticate identity in the MIRACL platform.

Use this method to authenticate another device or application with the usage of QR Code presented on MIRACL login page.

# Parameters

user the user to authenticate.
qrCode a string read from the QR code.
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.