Log in
Interface

UserContextParametersProcessorInterface

Magento\GraphQl\Model\Query\UserContextParametersProcessorInterface

What it does

This interface defines a contract for processors that add custom parameters to GraphQL context objects based on user context information.

Developers would implement this interface when they need to extend GraphQL context with additional user-specific data, such as customer groups, permissions, or custom user attributes that should be available throughout GraphQL query execution.

Public Methods

  • setUserContext()