include_once 'Auth/Container.php';
class CustomAuthContainer extends Auth_Container
{
/**
* Constructor
*/
function CustomAuthContainer($params)
{
// Init Here
}
function fetchData($username, $password)
{
// Check If valid etc
if($isvalid) {
// Perform Some Actions
return true;
}
return false;
}
} |