decryptPushNotificationExtraInfo

public abstract List<ApproveInfo> decryptPushNotificationExtraInfo(String userId, String encryptedExtrasString)

Decrypt a session's extra-info from an encrypted notification payload or an Offline QR code.

Return

a nullable list of ApproveInfo.

Parameters

userId

Futurae account's user id which the authentication was created for

encryptedExtrasString

the value of the encrypted String containing the session's extra-info. Accessible via FTNotificationUtils.PARAM_ENCRYPTED_EXTRA key in push notification intent extras.

Throws

if the SDK cannot find the account from the provided user id.

if the SDK cannot access the necessary tokens to authenticate this request

if the SDK cannot access necessary cryptographic material or perform cryptographic operations

if the provided encryptedExtrasString decrypted, is an invalid json.