Property | Type | Description | |
---|---|---|---|
$accessList | array | Access control definitions |
Method | Description | |
---|---|---|
__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 ) |
Method | Description | |
---|---|---|
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 |
protected array $accessList | ||
return | array |