Classes, interfaces and traits

Uaacs_authentication

A class to incorporate UAACS into any new application.

IMPORTANT :- For logging out, a post var named "UAACS_logout" should be used with value "YES". USAGE :- $uaacs = new Uaacs_authentication ; $uaacs->setLandingPage('http://bizydads.com/channa/portman/clientportfolio.php'); $uaacs->setAccessKey('j2ghjlzivj8u'); $uaacs->setSecurityKey('844c1cf009c169d456f5e22f4f3eb737') ; $uaacs->setAppId(58) ; $uaacs->setRoleId(456) ; //Following are optional $uaacs->setLogoutUrl('http://UAACS.kindersigns.org/API/logout.php'); $uaacs->setLgnCheckUrl('http://UAACS.kindersigns.org/API/loginCheck.php'); $uaacs->authenticate(); $functions = $uaacs->getAllowedFunctions() ; //An array $myRoles = $uaacs->getAllowedRoles(); //An array $roleId = $uaacs->getActiveRole(); $data = $uaacs->getUserData(); //simpleXMLObject da: 28da7d dev sec key: 85d3c6ee8affbff ACK : yd064wqrbr9 AS; : eec12d7215ad20eeb1cb4a7eabc9ba47
« More »