code: public ModelApiResponse retrieveAuthScheme(AuthSchemeLookupData lookupData) throws AuthenticationApiException {
          try {
              ApiRequestAuthSchemeLookupData req = new ApiRequestAuthSchemeLookupData();
              req.data(lookupData);
              return authenticationApi.tenantInfo(req);
          } catch (ApiException e) {
              throw new AuthenticationApiException("Error retrieve auth scheme", e);
          }
      }
docs: Get authentication scheme.
  Get the authentication scheme by user name or tenant name. The return value is   &#39;saml&#39; if the contact center has [Security Assertion Markup Language](https://en.wikipedia.org/wiki/Security_Assertion_Markup_Language)   (SAML) enabled; otherwise, the return value is &#39;basic&#39;.
  
  @param lookupData Data for scheme lookup. (optional)
  @return ModelApiResponse
  @throws AuthenticationApiException if the call is unsuccessful.