承接 fof/doorman 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fof/doorman

最新稳定版本:2.0.0

Composer 安装命令:

composer require fof/doorman

包简介

Create invite codes for users to sign up and be assigned to a group

关键字:

README 文档

README

GitLab license Latest Stable Version OpenCollective

A Flarum extension that restricts sign-ups to user's who have a code created in the admin panel.

Each code can be set to have a maximum number of uses, what group the user should be automatically added to on sign up, and whether or not the user should be automatically activated.

Usage

  • Setup sign-up codes on the admin panel
  • Includes optional support for Direct Links. When this extension is also enabled, email invites will include a link which will take the uew user directly to the signup modal, rather than the forum home page.

OAuth Bypass

Important: this feature requires 1.7.1 or higher of fof/oauth.

Doorman can be configured to allow users registering through specific OAuth providers to bypass the doorkey requirement. This is useful for allowing trusted authentication methods (like corporate SSO) to skip the invitation code step.

To enable this feature in your extension:

use FoF\Doorman\Extend\BypassDoorkey;

// In your extend.php file
return [
    // ... other extenders
    
    (new BypassDoorkey())
        ->forProvider('github')    // Allow GitHub OAuth users to bypass doorkey
        ->forProvider('discord'),  // Allow Discord OAuth users to bypass doorkey
];

Installation

Install with composer:

composer require fof/doorman:"*"

Then login and enable the extension.

To Do

  • Allow already signed up users to create codes for others to use (referrals)

Issues

Links

统计信息

  • 总下载量: 34.87k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 25
  • 点击次数: 1
  • 依赖项目数: 6
  • 推荐数: 0

GitHub 信息

  • Stars: 25
  • Watchers: 3
  • Forks: 15
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-12-04