rejectAuth

public final Unit rejectAuth(String qrCode, Boolean reportFraud, FuturaeCallback callback, Array<ApproveInfo> extraInfo)

Reject an online QR Code authentication session. 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.

reportFraud

report fraud in addition to rejecting the session.

callback

to get notified about success or failure of this operation

extraInfo

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

See also

.approveAuth

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.


public final Unit rejectAuth(String userId, String sessionId, Boolean reportFraud, FuturaeCallback callback)

Reject an authentication session using the userId and sessionId. This is a protected operation, so the SDK must be unlocked before calling this method.

Parameters

userId

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

sessionId

session identifier returned by the Futurae backend Auth API.

reportFraud

flag to choose whether to report a fraudulent authentication attempt.

callback

to get notified about success or failure of this operation.

See also

.rejectAuth

Throws

if the SDK is locked.

if a new enrollment is taking place.

if the if the Futurae account is not enrolled.

if an unexpected cryptographic error happens.


public final Unit rejectAuth(String userId, String sessionId, Boolean reportFraud, FuturaeCallback callback, Array<ApproveInfo> extraInfo)

Reject an authentication session which has extra_info, using the userId and sessionId. This is a protected operation, so the SDK must be unlocked before calling this method.

Parameters

userId

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

sessionId

session identifier returned by the Futurae backend Auth API.

reportFraud

flag to choose whether to report a fraudulent authentication attempt.

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

.approveAuth

Throws

if the SDK is locked.

if a new enrollment is taking place.

if the if the Futurae account is not enrolled.

if an unexpected cryptographic error happens.