docs: @Deprecated
      public static TokenResponse getTokenFromSaml(SAMLBearerRequest tokenRequest) throws ClientException {
          Result<TokenResponse> responseResult = getTokenFromSamlResult(tokenRequest);
          if (responseResult.isSuccess()) {
              return responseResult.getResult();
          }
          throw new ClientException(responseResult.getError());
      }