Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Developing the Function of Obtaining the Identity Authentication Result

Updated on 2023-10-12 GMT+08:00

Context

The agent workbench integrates the identity authentication function. When querying information or handling some businesses for a customer, an agent needs to authenticate the customer identity, and can perform subsequent operations only after the authentication is successful.

Figure 1 shows a typical business process of identity authentication.

After answering a customer's call, an agent initiates an identity authentication process to the customer on the voice and video workbench. The identity authentication process is determined by the configured IVR flow. A third-party identity authentication API needs to be configured in the IVR flow. The API authenticates the customer identity based on the parameters passed in call-associated data and the entered information, and returns the authentication result to the voice and video workbench. The voice and video workbench determines whether the agent has the permission to query information or handle some businesses for the customer based on the returned authentication result.

Figure 1 Business process

Figure 2 shows a typical IVR flow for identity authentication.

Figure 2 IVR flow

Prerequisites

  1. The role has the identity authentication permission.

    The tenant administrator of a new tenant has this permission by default. The tenant administrator of an old tenant has this permission after the old tenant is upgraded using the upgrade script. A tenant administrator with this permission can assign this permission to other roles.

  2. The role has the permission to configure identity authentication processes.

    The tenant administrator of a new tenant has this permission by default. The tenant administrator of an old tenant has this permission after the old tenant is upgraded using the upgrade script.

  3. The role has the permission to query identity authentication records.

    The tenant administrator of a new tenant has this permission by default. The tenant administrator of an old tenant has this permission after the old tenant is upgraded using the upgrade script. A tenant administrator with this permission can view all identity authentication records of the tenant space by default. A tenant administrator with this permission can assign this permission to other roles.

  4. An enabled identity authentication process is available.

Configuring an Identity Authentication Process

  1. On the flow management page, configure the IVR flow to be used by an identity authentication process.

    Figure 3 IVR flow

  2. Add an identity authentication process. Set Authentication Process to the IVR flow.

    Figure 4 Identity authentication process

  3. Enable the identity authentication process.

    Figure 5 Enabled identity authentication process

  4. Initiate identity authentication on the voice and video workbench.

    Figure 6 Voice and video workbench

  5. Query identity authentication records.

    Figure 7 Identity authentication records

Secondary Development API

Body parameter content passed by the IVR flow to the third-party API:

{

"calldata":{ // Call-associated data

"verifyServiceNo":"88880011", // Handled number for identity authentication

"verifyWorkNo":"371" // Agent ID for identity authentication

}

}

Body parameter content returned by the third-party API:

calldata:{ // Call-associated data

"data":{

"verifyResult":0, // Identity authentication result. 0: not returned; 1: successful; 2: failed; 3: abnormal.

"verifyReturn1":"", // Identity authentication data 1

"verifyReturn2":"",//Identity authentication data 2

"verifyReturn3:"","" //Identity authentication data 3

}

}

Enterprise developers develop enterprise business system pages based on JS OpenAPIs and integrate the pages into the AICC agent workbench. On the pages, the following API can be invoked to obtain the authentication result:

AICCSupport.getVerifyResult(verifyTypeCode)

Format of the result object:

{

"verifyResult":0, // Identity authentication result. 0: not returned; 1: successful; 2: failed; 3: abnormal.

}

Obtaining the Authentication Result of an Identity Authentication Mode

AICCSupport.getVerifyResult(verifyTypeCode)

The verifyTypeCode parameter of the getVerifyResult method indicates the identity authentication mode for which the authentication result needs to be obtained.

Table 1 Input parameter of the getVerifyResult method

Parameter

Type

Meaning

Mandatory or Not

Description

verifyTypeCode

String

Identity authentication mode code

Yes

Only letters, digits, and underscores (_) are allowed.

Table 2 Output parameter of the getVerifyResult method

Parameter

Type

Meaning

Mandatory or Not

Description

verifyResult

String

Identity authentication result

Yes

The options are as follows:

  • 0: not returned
  • 1: successful
  • 2: failed
  • 3: abnormal

An empty string indicates that the identity authentication mode code is invalid.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback