Authing DocsDocuments
Concept
workflow
Guides
Development Integration
Application integration
Concept
workflow
Guides
Development Integration
Application integration
Old Version
Development Integration
  • Single Sign-On (SSO)
  • Login component

  • JavaScript/Node.js

  • Java / Kotlin

  • Python

  • C#

  • PHP

    • User Authentication Module
    • Management Module

      • Management user
      • Management application
      • Management role
      • Management resources and permissions
      • Management groups
      • Management organization
      • Management User Custom Fields
      • Management registration white list
      • Management userpool configuration
      • Management MFA
  • Go

  • Ruby
  • Android

  • iOS

  • Flutter

  • React Native
  • WeChat Mini Program
  • WeChat webpage authorization
  • Framework Integration
  • Error code
  1. Development Integration
  2. /
  3. PHP
  4. /
  5. Management Module
  6. /
  7. Management registration white list

¶ Management registration white list

Update Time: 2025-02-18 09:00:47
Edit

Configuring a registered list for your user pool, similar to inviting registration rules, after opening, only users in whitelist can register. Authing The currently supported white list has a mobile phone number, email, user name.

¶ Get white list record

WhitelistManagementClient().list(type)

Get white list record

¶ parameter

  • type <WhitelistType> 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。

¶ Example

$list = $managementClient->whitelist()->paginate(WhitelistType::EMAIL);

¶ 添加白名单

WhitelistManagementClient().add(type, list)

添加白名单

¶ parameter

  • type <WhitelistType> 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。
  • list <string[]> 白名单列表,请注意邮箱不区分大小写。

¶ Example

$managementClient->whitelist()->add(WhitelistType::EMAIL, ["test@test.com"]);

¶ 移除白名单

WhitelistManagementClient().remove(type, list)

移除白名单

¶ parameter

  • type <WhitelistType> 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。
  • list <string[]> 白名单列表,请注意邮箱不区分大小写。

¶ Example

$managementClient->whitelist()->remove(WhitelistType::EMAIL, ["test@test.com"]);

¶ 开启白名单

WhitelistManagementClient().enable(type)

开启白名单

¶ parameter

  • type <WhitelistType> 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。

¶ Example

$managementClient->whitelist()->enable(WhitelistType::EMAIL);

¶ 关闭白名单

WhitelistManagementClient().disable(type)

关闭白名单

¶ parameter

  • type <WhitelistType> White list type, USERNAME is the username、Email is the email、Phone is the mobile phone number.

¶ Example

$managementClient->whitelist()->disable(WhitelistType::EMAIL);
Prev: Management User Custom Fields Next: Management userpool configuration
  • Get white list record
  • 添加白名单
  • 移除白名单
  • 开启白名单
  • 关闭白名单

User identity management

Integrated third-party login
Mobile phone number flash check (opens new window)
Universal login form component
Custom authentication process

Enterprise internal management

Single Sign On
Multi-factor Authentication
Authority Management

Developers

Development Document
Framework Integration
Blog (opens new window)
GitHub (opens new window)
Community User Center (opens new window)

Company

400 888 2106
sales@authing.cn
16 / F, Block B, NORTH STAR CENTURY CENTER, Beijing(Total)
room 406, 4th floor, zone B, building 1, No. 200, Tianfu Fifth Street, Chengdu(branch)

Beijing ICP No.19051205-1

© Beijing Steamory Technology Co.