<?php

namespace NoahVet\Reef\Security\ResourceType;

use NoahVet\Reef\Domain\Security\Model\ResourceType;

interface ResourceCollectionPermissionFetcherInterface
{
    public function fetch(
        ResourceType $resourceType,
        bool $expandGroups = true,
        ?string $bearerToken = null,
        bool $tokenRemap = true,
    ): ResourceCollectionPermission;
}
