approveAuthWithUsernamelessQrCode

public final Unit approveAuthWithUsernamelessQrCode(String qrCode, String userId, Array<ApproveInfo> extraInfo, Callback<Unit> callback)

Approve a usernameless QR Code authentication session with optional extra_info. This is a protected operation, so the SDK must be unlocked before calling this method.

Parameters

qrCode

raw value parsed from the scanned QR code.

userId

the User id to approve the session with

extraInfo

session's additional contextual information which is displayed to the user.

callback

to get notified about success or failure of this operation

See also

Throws

if the SDK is locked.

if the Futurae account is not enrolled, or a new enrollment is taking place.

if the QR code is invalid.

if an unexpected cryptographic error happens.