authenticate With QRCode
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.
qr Code
a string read from the QR code.
pin Provider
a callback called from the SDK, when the identity PIN is required.
result Handler
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.