switch(authState.getAuthState()) {
case authenticated: {
final SignOutDialogPresenter signOutPresenter =
signOutPresenterProvider.get();
BlockUi.blockAllWithWidget(signOutPresenter.getWidget(),
ButtonSet.yesNo, new DialogResponseHandler() {
@Override
public void handleResponse(DialogResult result) {
boolean logOutOfExternal =
signOutPresenter.getNeedsExternalLogOut();