approveAuth

public final Unit approveAuth(String qrCode, FuturaeCallback callback, Array<ApproveInfo> extraInfo)

Approve an online QR Code authentication session which has extra_info. 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.

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

.rejectAuth

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 approveAuth(String userId, String sessionId, Callback<Unit> callback)
public final Unit approveAuth(String userId, String sessionId, FuturaeCallback callback)

Approve 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.

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 approveAuth(String userId, String sessionId, FuturaeCallback callback, Array<ApproveInfo> extraInfo)

Approve 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.

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

.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 approveAuth(String userId, String sessionId, Integer multiNumberedChallengeResponse, Callback<Unit> callback)

Approve an authentication session using the userId, sessionId and MultiNumberedChallenge. 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.

multiNumberedChallengeResponse

user's choice of a multinumber challenge, if requested by the session.

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 approveAuth(String userId, String sessionId, Array<ApproveInfo> extraInfo, Integer multiNumberedChallengeResponse, Callback<Unit> callback)

Approve an authentication session which has extra_info, using the userId, sessionId and multi number challenge response. 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.

callback

to get notified about success or failure of this operation.

extraInfo

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

multiNumberedChallengeResponse

user's choice of a multinumber challenge, if requested by the session.

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 approveAuth(String userId, String sessionId, Array<ApproveInfo> extraInfo, Callback<Unit> callback)

Approve an authentication session which has extra_info, using the userId, sessionId and multi number challenge response. 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.

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

.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.