DeleteSecurityKeyTask

DeleteSecurityKeyTask.runTask(TaskListener taskListener, String serverUrl, String sessionToken, String keyHandle)


taskListener - Listener to processes the result of the request.

serverUrl - The URL of the SurePassID FIDO Server.

sessionToken - The value returned by ValidateUserTask after successfully authenticating with a username and password.

keyHandle - The key handle of the security key to be deleted.


Example

DeleteSecurityKeyTask.runTask(new TaskListener() {
    @Override
    public void onTaskSuccess() {
    }

    @Override
    public void onTaskError(String errorMessage, int errorCode) {
    }
}, serverUrl, sessionToken, keyHandle);