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 MFA

¶ Manage MFA

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

This module is primarily used to manage MFA-related operations.

Please use the module in the following ways:

use Authing\Mgmt\ManagementClient;

$manageClient = new ManagementClient('YOUR_USERPOOL_ID', 'YOUR_USERPOOL_SECRET');

$mfaManagementClient = $managementClient->mfa();
$mfaManagementClient->getStatus(USER_ID); // User MFA Binding Status

¶ Get user MFA binding status

MfaManagementClient->getStatus(string $userId);

Get user MFA binding status

¶ parameter

  • userId <string> user ID

¶ Example

$mfaManagementClient->getStatus(string $userId);

¶ Sample data

{
  "FACE": true,
  "OTP": false
}

¶ Mensize user MFA

MfaManagementClient->unAssociateMfa(string $userId, string $mfaType);

Mensize user MFA

¶ parameter

  • userId <string> user ID
  • mfaType <string> Melting type, optional value FACE, OTP

¶ Example

$mfaManagementClient->unAssociateMfa(USER_ID, 'OTP');

¶ Sample data

true
Prev: Management userpool configuration Next: Go
  • Get user MFA binding status
  • Mensize user MFA

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.