getOfflineQRVerificationCode
Generate a 6-digit OTP that the user needs to enter in the browser when authenticating with the offline QR Code Factor.
This is a protected operation, so the SDK must be unlocked before calling this method.
Return
6-digit OTP, computed from the scanned QR code.
Parameters
raw value parsed from the scanned QR code.
Depending on this parameter operation may be protected (require prior SDK unlock). If mode is SDKAuthMode.Unlock, then operation would require prior unlock. For SDK_PIN_WITH_BIOMETRICS_OPTIONAL, mode should be SDKAuthMode.PinOrBiometrics.
Throws
if the biometrics verification fails.
if the SDK is locked.
if the SDK configuration is not LockConfigurationType.SDK_PIN_WITH_BIOMETRICS_OPTIONAL.
if the SDK is unable to retrieve the SDK pin from encrypted storage.
if there was an error when parsing the QRCode.
if there is no account enrolled for the provided user-id.
if the SDK cannot access necessary cryptographic material or perform cryptographic operations