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

    • 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 user pool configuration
      • Management log statistics
  • Python

  • C#

  • PHP

  • Go

  • Ruby
  • Android

  • iOS

  • Flutter

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

¶ WhitelistManagementClient

Update Time: 2025-05-14 08:32:28
Edit

Add a registration whitelist for your user pool, which is similar to the invitation registration rule. After you add it, only users in the whitelist can register. Authing currently supports you to set phone number, email, and username in whitelist.

¶ Get whitelists

WhitelistManagementClient().list(type)

Get whitelists

¶ Parameter:

  • type <WhitelistType> Whitelist type.

¶ Example:

List<WhiteList> whiteLists = managementClient.whitelist().list(WhitelistType.USERNAME).execute();

¶ Add whitelists

WhitelistManagementClient().add(addWhitelistParam)

Add whitelists

¶ Parameters:

  • addWhitelistParam <AddWhitelistParam>
  • addWhitelistParam.type <WhitelistType> Whitelist type
  • addWhitelistParam.list <List<String>> Whitelist list. (email is not case sensitive)

¶ Example:

List<WhiteList> whiteLists = managementClient.whitelist().add(new AddWhitelistParam(WhitelistType.USERNAME, Arrays.asList("test1"))).execute();

¶ Remove whitelists

WhitelistManagementClient().remove(removeWhitelistParam)

Remove whitelists

¶ Parameters:

  • removeWhitelistParam <RemoveWhitelistParam>
  • removeWhitelistParam.type <WhitelistType> Whitelist type
  • removeWhitelistParam.list <List<String>> Whitelist list. (email is not case sensitive)

¶ Example:

List<WhiteList> whiteLists = managementClient.whitelist().remove(new RemoveWhitelistParam(WhitelistType.USERNAME, Arrays.asList("test"))).execute();

¶ Enable whitelists

WhitelistManagementClient().enable(type)

Enable whitelists

¶ Parameter:

  • type <WhitelistType> Whitelist type

¶ Example:

UserPool userPool = managementClient.whitelist().enable(WhitelistType.USERNAME).execute();

¶ Disable whitelists

WhitelistManagementClient().disable(type)

Disable whitelists

¶ Parameter:

  • type <WhitelistType> Whitelist type

¶ Example:

UserPool userPool = managementClient.whitelist().disable(WhitelistType.USERNAME).execute();
Prev: Management User Custom Fields Next: Management user pool configuration
  • Get whitelists
  • Add whitelists
  • Remove whitelists
  • Enable whitelists
  • Disable whitelists

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.