我正在使用 API 平台创建 API,并使用标准的 symfony 安全包(https://symfony.com/doc/current/security.html#retrieving-the-user-object)设置了我的用户实体等
我在{url}/api/login使用 JWT时使用REST 登录,但我看不到任何使用 GraphQL 发送登录详细信息的方式
API 平台文档展示了如何设置安全性以及如何单独设置 GraphQL,但并未真正展示如何组合它们。
https://api-platform.com/docs/core/graphql
https://api-platform.com/docs/core/fosuser-bundle
如何在 GraphQL 中访问登录名?目前,我只有createUser updateUser和deleteUser突变,我想我需要authenticateUser一个?