FuturaeOperationsApi

public interface FuturaeOperationsApi

A grouping for futurae operations.

Functions

Link copied to clipboard
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.

Link copied to clipboard

Get an IntegrityResult about the integrity of the app, app-license and device.*

Link copied to clipboard
public abstract Unit handlePushNotification(Map<String, String> data)

Handle approve or unenroll notification from the Futurae's backend.

Link copied to clipboard
public abstract AsyncCompletableOperation handleUri(String uriString)

Handle URIs for enroll or authentication. If the URI cannot be handled, this method will return an error via the provided callback This is a protected operation, so the SDK must be unlocked before calling this method.

Link copied to clipboard
public abstract Boolean isPublicKeyUploaded()

SDK unprotected function returning true if the SDK has already uploaded the public key to futurae servers. if you encounter FTApiInvalidPublicKeyException, call uploadPublicKey even if this function returns true.

Link copied to clipboard

SDK unprotected function to re-upload the SDK's public key to Futurae servers. Call this method if you encounter FTApiInvalidPublicKeyException

Link copied to clipboard
public abstract Unit validateSDKSigning()

This method verifies the validity of SDK signing and encryption keys and their respective operations in order to detect an erroneous SDK state prior to SDK operations like enrollment, accounts-status etc. It requires the SDK to be initialized and unlocked or use Lock configuration NONE which doens't require unlocking.