approve
Approve an authentication session. This method is used to approve authentication sessions. The parameters of the session approval are described via the ApproveParameters entity.
To build parameters for approval, use ApproveParameters.Builder class.
This is a protected operation, so the SDK must be unlocked before calling this method.
Parameters
specifies a session with it's parameters needed for approval.
See also
Throws
if the SDK is locked.
if the SDK is currently blocked by an operation updating DB accounts
if the provided QR code is malformed or otherwise invalid.
if the SDK cannot find the user account for the provided user-id
if the SDK is not initialized correctly.
if the SDK cannot access necessary cryptographic material or perform cryptographic operations
if the API request fails. Refer to FTApiException subtypes for more specific errors.