Location: PHPKode > projects > GnomePHP > peec-GnomePHP-b5a360b/gnomephp/res/features/security/Auth.php
<?php
namespace __APP_NAME__\controller;

use \gnomephp\message\Message;

use \gnomephp\doctrine\Doctrine;

class Auth extends \gnomephp\security\Security implements \gnomephp\security\Secure{

	
	
	public function hasAccessTo($method, $session){
		return true; // @TODO implement access control
	}

	protected function authenticate($username, $password){
		return true; // @TODO create database interaction for username / password check.
	}

	public function manage(){
		parent::manage();
		// @TODO Create manage user page.
	}
	
	public function login(){
		parent::login();
		// @TODO Create login page.
	}

	public function register(){
		
		// @TODO Create register page.
	}


}
Return current item: GnomePHP