<?php

declare(strict_types=1);

namespace NoahVet\Reef\Security\ResourceType;

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

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