code: @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());
      }
docs: @deprecated As of release 1.5.29, replaced with @link #getTokenFromSamlResult(SAMLBearerRequest tokenRequest)
  
  @param tokenRequest Request details for the token
  @return A TokenResponse object on success
  @throws ClientException If any issues