jamesedmonston/graphql-authentication
Composer 安装命令:
composer require jamesedmonston/graphql-authentication
包简介
GraphQL authentication for your headless Craft CMS applications.
README 文档
README
GraphQL Authentication adds a JWT authentication layer to your Craft CMS GraphQL endpoint.
Plugin Overview
- Adds support for user registration and authentication (see Authentication)
- Adds support for Two-Factor Authentication (see Two-Factor Authentication)
- Adds support for Magic Link Authentication (see Magic Authentication)
- Adds support for social sign-in – currently Google, Facebook, Twitter, Apple, and Microsoft (see Social)
- Adds ability to define per-section user restrictions (queries and mutations can be limited to author-only) (see User Settings)
- Checks mutation fields against schema permissions, and prevents fields being saved if user is trying to access private entries/assets
- Adds ability to assign unique schemas for each user group
- Adds ability to restrict user queries and mutations to Craft multi-site sites
- Adds ability to mark fields as private – stopping users from querying/mutating fields on entries
- Adds a unique, per-user query cache
Use the table below to determine which version of the plugin you should install.
| Craft CMS Version | Plugin Version |
|---|---|
| 5 | 3 |
| 4 | 2 |
| 3 | 1 |
Documentation
You can view the documention for the plugin here.
jamesedmonston/graphql-authentication 适用场景与选型建议
jamesedmonston/graphql-authentication 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 17.66k 次下载、GitHub Stars 达 29, 最近一次更新时间为 2020 年 11 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Authentication」 「cms」 「Craft」 「craftcms」 「graphql」 「craft-plugin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 jamesedmonston/graphql-authentication 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jamesedmonston/graphql-authentication 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 jamesedmonston/graphql-authentication 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Expand, collapse, change the status of, or delete multiple blocks in a Matrix field simultaneously.
Automatically logs-in users if they are already authenticated by a remote source. (e.g. environment variable REMOTE_USER)
Set Links with a specific language parameter
Supercharged text field validation.
Laravel middleware to restrict a site or specific routes using HTTP basic authentication
Email Toolkit Plugin for CakePHP
统计信息
- 总下载量: 17.66k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 29
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-03