프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$accessList | array | Access control definitions |
메소드 | 설명 | |
---|---|---|
__construct ( array $accessList = [], array $groups = [] ) | Class constructor | |
getAccessListForPublicKey ( $publicKey ) | ||
getAccessRule ( $publicKey, $accessRuleId ) | ||
getGroup ( $groupName ) | ||
getGroups ( Imbo\Auth\AccessControl\GroupQuery $query = null, |
||
getPrivateKey ( $publicKey ) | ||
groupExists ( $groupName ) | ||
publicKeyExists ( $publicKey ) |
메소드 | 설명 | |
---|---|---|
getKeysFromAcl ( ) : array | Get an array of public => private key pairs defined in the ACL | |
validateAccessList ( ) | Validate access list data |
public __construct ( array $accessList = [], array $groups = [] ) | ||
$accessList | array | Array defining the available public/private keys, along with the associated ACL rules for each public key. |
$groups | array | Array of group => resources combinations |
public getGroups ( Imbo\Auth\AccessControl\GroupQuery $query = null, |
||
$query | Imbo\Auth\AccessControl\GroupQuery | |
$model |