code: @Override
      public AuthenticationRequest setRealm(String realm) {
          if (hasLegacyPath()) {
              Log.w(TAG, "Not setting the 'realm' parameter as the request is using a Legacy Authorization API endpoint that doesn't support it.");
              return this;
          }
          addParameter(REALM_KEY, realm);
          return this;
      }
docs: Sets the 'realm' parameter. A realm identifies the host against which the authentication will be made, and usually helps to know which username and password to use.
  
  @param realm name of the realm
  @return itself