References SecurityPostValidationStage
Reference
C
Class

ApiPlatform\GraphQl\Resolver\Stage\SecurityPostValidationStage

Security post validation stage of GraphQL resolvers.

class ApiPlatform\GraphQl\Resolver\Stage\SecurityPostValidationStage implements ApiPlatform\GraphQl\Resolver\Stage\SecurityPostValidationStageInterface
{
    public __construct(|`<a href="/docs/main/references/Metadata/ResourceAccessCheckerInterface">ApiPlatform\Metadata\ResourceAccessCheckerInterface $resourceAccessChecker)
    public __invoke(string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): null
}

Methods

__construct

Parameters

resourceAccessChecker`ApiPlatform\Symfony\Security\ResourceAccessCheckerInterface`
`ApiPlatform\Metadata\ResourceAccessCheckerInterface`

__invoke

public __invoke(string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): null

Parameters

resourceClassstring
operation`ApiPlatform\Metadata\GraphQl\Operation`
contextarray

Returns

null

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