PHP client - OpenKM 5.1

From OpenKM Documentation
Revision as of 15:07, 8 March 2010 by Pavila (talk | contribs)

Jump to: navigation, search

Authentication

<?php
  $OKMAuth = new SoapClient('http://localhost:8080/OpenKM/OKMAuth?wsdl');
  $token = $OKMAuth->login('okmAdmin','admin');
  echo "Token: ".$token;
  $OKMAuth->logout($token);
?>