diff --git a/pin_auth/v1_0/IExecutor.idl b/pin_auth/v1_0/IExecutor.idl
index 244e6b64dab688d54667ff998b44adc36207fc1d..64099b78749d7a738f5056b13f355f0050704d33 100644
--- a/pin_auth/v1_0/IExecutor.idl
+++ b/pin_auth/v1_0/IExecutor.idl
@@ -81,11 +81,11 @@ interface IExecutor {
*/
OnRegisterFinish([in] unsigned long[] templateIdList, [in] unsigned char[] frameworkPublicKey, [in] unsigned char[] extraInfo);
/**
- * @brief Send parameters to driver when executor register finish.
+ * @brief Set pin data to driver.
*
- * @param scheduleId Indicates schedule id of enroll.
- * @param authSubType .
- * @param data .
+ * @param scheduleId Indicates schedule id of the enrollment.
+ * @param authSubType Indicates the pin sub type.
+ * @param data Indicates the pin data.
*
* @return Returns 0 if the operation is successful.
* @return Returns a non-zero value if the operation fails.
@@ -124,7 +124,7 @@ interface IExecutor {
*/
Delete([in] unsigned long templateId);
/**
- * @brief Cancel enroll, authenticate or identify operation.
+ * @brief Cancel operation.
*
* @param scheduleId Indicates schedule id of operation to cancel.
*
diff --git a/pin_auth/v1_0/IExecutorCallback.idl b/pin_auth/v1_0/IExecutorCallback.idl
index 8dc4922f2612aa13f8112655297fbc144164adaf..6c8dadca7b0fb6054149c287c6cb843f732b4658 100644
--- a/pin_auth/v1_0/IExecutorCallback.idl
+++ b/pin_auth/v1_0/IExecutorCallback.idl
@@ -57,10 +57,10 @@ package ohos.hdi.pin_auth.v1_0;
*/
OnResult([in] int result, [in] unsigned char[] extraInfo);
/**
- * @brief defines the function for reporting info in process.
+ * @brief defines the function for getting pin data.
*
- * @param salt Indicates acquire info code, see {@link FaceTipsCode}.
- * @param authSubType Indicates extra info to report.
+ * @param salt Indicates the value used to compute pin data.
+ * @param authSubType Indicates pin sub type.
*
* @return Returns 0 if the operation is successful.
* @return Returns a non-zero value if the operation fails.
diff --git a/user_auth/v1_0/IUserAuthInterface.idl b/user_auth/v1_0/IUserAuthInterface.idl
index f13a2e6ec91d34f6246749ea45c9338b0146cde0..5c42d7e69e1ec5031661ef5c2766e8bde2756af4 100644
--- a/user_auth/v1_0/IUserAuthInterface.idl
+++ b/user_auth/v1_0/IUserAuthInterface.idl
@@ -19,8 +19,8 @@
*
* @brief Provides APIs for the user auth driver.
*
- * The user auth driver provides a unified interface for the pin auth service to access the user auth driver.
- * After obtaining the pin auth driver proxy, the service can call related APIs to register executor,
+ * The user auth driver provides a unified interface for the user auth service to access the user auth driver.
+ * After obtaining the user auth driver proxy, the service can call related APIs to register executor,
* manage credentials, and complete password and biometric authentication.
* @since 3.2
*/
@@ -146,7 +146,7 @@ interface IUserAuthInterface {
/**
* @brief Query credential information.
*
- * @param userId Indicates Indicates user id.
+ * @param userId Indicates user id.
* @param authType Indicates authentication type, see {@link AuthType}.
* @param infos Indicates credential information, see {@link CredentialInfo}.
*
@@ -158,7 +158,7 @@ interface IUserAuthInterface {
* @brief Query secure information.
*
* @param userId Indicates user id.
- * @param secureUid Indicates secure user id, see {@link AuthType}.
+ * @param secureUid Indicates secure user id.
* @param infos Indicates enrolled Info, see {@link EnrolledInfo}.
*
* @return Returns 0 if the operation is successful.
@@ -169,7 +169,7 @@ interface IUserAuthInterface {
* @brief Delete pin, delete user in Iam subsystem.
*
* @param userId Indicates user id.
- * @param authToken Indicates Indicates user password authentication token.
+ * @param authToken Indicates user password authentication token.
* @param deletedInfos Indicates deleted credential information, see {@link CredentialInfo}.
*
* @return Returns 0 if the operation is successful.
diff --git a/user_auth/v1_0/UserAuthTypes.idl b/user_auth/v1_0/UserAuthTypes.idl
index 6c05a62ff4e4d6e376916966763978e49667e5c6..89a36eff0b8c6b7d3fe20bfaf83f7326af48b9f4 100644
--- a/user_auth/v1_0/UserAuthTypes.idl
+++ b/user_auth/v1_0/UserAuthTypes.idl
@@ -49,7 +49,7 @@ enum AuthType : int {
enum ExecutorRole : int {
COLLECTOR = 1, /**< Indicates executor role is collector. */
VERIFIER = 2, /**< Indicates executor role is verifier. */
- ALL_IN_ONE = 3, /**< Indicates executor role is collector and verifier. */
+ ALL_IN_ONE = 3, /**< Indicates executor role is combination of collector and verifier. */
};
/**
@@ -85,7 +85,7 @@ struct ScheduleInfo {
enum AuthType authType; /**< Indicates authentication type, see @{AuthType}. */
unsigned int executorType; /**< Indicates executor type. */
unsigned int scheduleMode; /**< Indicates authentication or identification. */
- struct ExecutorInfo[] executors; /**< Indicates executor info of identification, see @{ExecutorInfo}. */
+ struct ExecutorInfo[] executors; /**< Indicates executor information, see @{ExecutorInfo}. */
};
struct AuthSolution {
@@ -104,7 +104,7 @@ struct ExecutorSendMsg {
struct AuthResultInfo {
unsigned int result; /**< Indicates result. */
int freezingTime; /**< Indicates freezing time in seconds. */
- int remainTimes; /**< Indicates freezing time in seconds. */
+ int remainTimes; /**< Indicates remaining authentication times before a lockout. */
struct ExecutorSendMsg[] msgs; /**< Indicates executor msgs, see @{ExecutorSendMsg}. */
unsigned char[] token; /**< Indicates authentication token. */
};