References ResourceAccessCheckerInterface
Reference
I
Interface

ApiPlatform\Symfony\Security\ResourceAccessCheckerInterface

Checks if the logged user has sufficient permissions to access the given resource.

interface ApiPlatform\Symfony\Security\ResourceAccessCheckerInterface implements ApiPlatform\Metadata\ResourceAccessCheckerInterface
{
    public isGranted(string $resourceClass, string $expression, array $extraVariables): bool
}

Methods

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop