code: public void authenticate() {
      if (mAccount == null) {
        // Create account also performs authentication.
        createAccount();
      } else {
        mAccess = mAccount.authenticate();
        if (mRegion != null) {
          mAccess.setPreferredRegion(mRegion);
        }
      }
    }
docs: Authenticates and renew the token