19 declare(strict_types=1);
59 if ($this->provider_name_cache !==
'' && is_string($this->provider_name_cache)) {
62 $reflector = new \ReflectionClass($this);
64 $parts = explode(DIRECTORY_SEPARATOR, str_replace(ILIAS_ABSOLUTE_PATH,
'', dirname($reflector->getFileName())));
65 $parts = array_filter($parts,
static function ($part) {
66 return $part !==
'' && $part !==
'classes';
69 return $this->provider_name_cache = implode(
'/', $parts);
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
isResourceInUse(ResourceIdentification $identification)
canBeAccessedByCurrentUser(ResourceIdentification $identification)
getFullyQualifiedClassName()
getLocationURIForResourceUsage(ResourceIdentification $identification)
Class ResourceIdentification.
string $provider_name_cache
getConsumerNameForPresentation()
Interface ResourceStakeholder.
resourceHasBeenDeleted(ResourceIdentification $identification)
getOwnerOfResource(ResourceIdentification $identification)