DeleteAllSecurityKeysTask


This is an asynchronous task to delete all U2F Security Keys.


DeleteAllSecurityKeysTask.runTask(TaskListener taskListener, String serverUrl, String sessionToken)

taskListener - Listener to processes the result of the request.

serverUrlĀ - iThe URL of the SurePassID FIDO Server.

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


Example

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

    @Override
    public void onTaskError(String errorMessage, int errorCode) {
    }
}, mServerUrl, mSessionToken);