Versions Compared

Key

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

 

...

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

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

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