public void cancelAuthentication(){
synchronized (syncLock) {
    authenticating=false;
    timer.cancel();
    timer.purge();
  }
}

public void cancelAuthentication ( ) { synchronized ( syncLock ) { authenticating = false ; timer . cancel ( ) ; timer . purge ( ) ; } }
if this object is authenticating using the callback based authenticate method , then this will cancel future authentication requests . if using authenticate that returns an observable , then this has no effect .
