Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


 

 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

Code Block
languagejava
themeEclipse
DeleteAllSecurityKeysTask.runTask(new TaskListener() {
    @Override
    public void onTaskSuccess() {
    }

    @Override
    public void onTaskError(String errorMessage, int errorCode) {
    }
}, serverUrlmServerUrl, mUsernamemSessionToken);