메소드 |
설명 |
|
getAccessListForPublicKey ( string $publicKey ) : array |
Get the access control list for a given public key |
|
getAccessRule ( string $publicKey, array $accessRuleId ) : array |
Get an access rule by id |
|
getGroup ( string $groupName ) : array |
Fetch a resource group with the given name |
|
getGroups ( Imbo\Auth\AccessControl\GroupQuery $query = null, Groups $model ) : array |
Fetch a list of available resource groups |
|
getPrivateKey ( string $publicKey ) : string |
Return the private key for a given public key |
|
getUsersForResource ( string $publicKey, string $resource ) : array |
Get a list of users the public key has access for on a given resource |
|
groupExists ( string $groupName ) : boolean |
Check whether or not a group exists |
|
hasAccess ( string $publicKey, string $resource, string $user = null ) : boolean |
Check if a given public key has access to a given resource |
|
publicKeyExists ( string $publicKey ) : boolean |
Get whether a public key exists or not |
|