Model
DisableSession
Magento\GraphQl\Model\Config\DisableSession
What it does
This class checks whether sessions are disabled for GraphQL requests in Magento 2.
Developers use this to determine if the GraphQL API should operate in a stateless mode, which can improve performance and security by preventing session usage.
The configuration value is retrieved from the store configuration path 'graphql/session/disable'.
Public Methods
- isDisabled()