コード例 #1
0
 function isAllowed($role, $resource, $privilege)
 {
     return $this->namespace->getAuthorizator()->isAllowed($role, $resource, $privilege);
 }
コード例 #2
0
 function authenticate(array $credentials)
 {
     return $this->namespace->getAuthenticator()->authenticate($credentials);
 }
 public function initialize(IIdentity $identity)
 {
     return $this->namespace->getIdentityInitializer()->initialize($identity);
 }