FuturaeAuthApi

public interface FuturaeAuthApi

A grouping of futurae SDK client-facing methods to authenticate with the supported factors.

Contains methods for

Functions

Link copied to clipboard

Approve an authentication session. This method is used to approve authentication sessions. The parameters of the session approval are described via the ApproveParameters entity.

Link copied to clipboard
public abstract String getNextSynchronousAuthToken(String userId)

Retrieve synchronous JWT authentication token. If successful, this call increments synchronous authentication counter.

Link copied to clipboard
public abstract AsyncOperation<String> getOfflineQRVerificationCode(String qrCodeContent, SDKAuthMode mode)

Generate a 6-digit OTP that the user needs to enter in the browser when authenticating with the offline QR Code Factor.

Link copied to clipboard
public abstract AsyncOperation<TOTP> getTOTP(String userId, SDKAuthMode mode)

Create the 6 digit code used in the TOTP offline authentication, for the provided user id.

Link copied to clipboard

Reject an authentication session. This method is used to reject authentication sessions. The parameters of the session approval are described via the RejectParameters entity.