Model
Context
Magento\GraphQl\Model\Query\Resolver\Context
What it does
This class represents the context object passed to GraphQL query resolvers, containing information about the current user making the request.
It stores user ID and user type, allowing resolvers to access authentication details and make authorization decisions.
Note: This class is deprecated and developers should use \Magento\GraphQl\Model\Query\Context instead.
Public Methods
- getExtensionAttributes()
- setExtensionAttributes()
- getUserId()
- setUserId()
- getUserType()
- setUserType()
- _resetState()