From 35f3b7d13bfa7f23ac1f5a229db8c115711365a5 Mon Sep 17 00:00:00 2001 From: adelelimi Date: Tue, 19 Aug 2025 14:20:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=AD=E9=97=B4=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=90=88=E5=85=A56.0=20release=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: adelelimi --- api/@ohos.userIAM.userAuth.d.ts | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/api/@ohos.userIAM.userAuth.d.ts b/api/@ohos.userIAM.userAuth.d.ts index 8e436ec93c..53d88fc11e 100644 --- a/api/@ohos.userIAM.userAuth.d.ts +++ b/api/@ohos.userIAM.userAuth.d.ts @@ -1674,7 +1674,16 @@ declare namespace userAuth { * @atomicservice * @since 20 */ - WIDGET_RELEASED = 6 + WIDGET_RELEASED = 6, + + /** + * Authentication tip for authentication failed which causes authentication frozen. + * + * @syscap SystemCapability.UserIAM.UserAuth.Core + * @atomicservice + * @since 20 + */ + COMPARE_FAILURE_WITH_FROZEN = 7 } /** @@ -1857,16 +1866,13 @@ declare namespace userAuth { *
2. No permission to start authentication from background. * @throws { BusinessError } 401 - Parameter error. Possible causes: *
1. Incorrect parameter types. - * @throws { BusinessError } 12500001 - Authentication failed. * @throws { BusinessError } 12500002 - General operation error. * @throws { BusinessError } 12500003 - Authentication canceled. - * @throws { BusinessError } 12500004 - Authentication timeout. * @throws { BusinessError } 12500005 - The authentication type is not supported. * @throws { BusinessError } 12500006 - The authentication trust level is not supported. - * @throws { BusinessError } 12500007 - Authentication service is busy. * @throws { BusinessError } 12500009 - Authentication is locked out. * @throws { BusinessError } 12500010 - The type of credential has not been enrolled. - * @throws { BusinessError } 12500011 - Switched to the custom authentication process. + * @throws { BusinessError } 12500011 - Switched to the customized authentication process. * @throws { BusinessError } 12500013 - Operation failed because of PIN expired. * @syscap SystemCapability.UserIAM.UserAuth.Core * @atomicservice -- Gitee