I follow the example of making Google registration and here is the method that can be called after the user logged in
/** * Revoking access from google */ private void revokeGplusAccess() { if (mGoogleApiClient.isConnected()) { Plus.AccountApi.clearDefaultAccount(mGoogleApiClient); Plus.AccountApi.revokeAccessAndDisconnect(mGoogleApiClient) .setResultCallback(new ResultCallback<Status>() { @Override public void onResult(Status arg0) { Log.e("pavan", "User access revoked!"); mGoogleApiClient.connect(); updateUI(false); } }); } } I can not understand what he is doing? Who can explain? If you translate what is written, then it is needed to revoke access, but how is this different from LogOut then?