From fa8e77c268c603c1aff500fe2d0101f56bb1e9e7 Mon Sep 17 00:00:00 2001 From: liuziwei Date: Tue, 21 May 2024 16:49:18 +0800 Subject: [PATCH 1/3] fix code Signed-off-by: liuziwei Change-Id: I195a6a9a6c7d3af00c6e6bbb782b02cc490055dc --- user_auth/v2_0/UserAuthTypes.idl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/user_auth/v2_0/UserAuthTypes.idl b/user_auth/v2_0/UserAuthTypes.idl index 8fbb0846..afd68bae 100644 --- a/user_auth/v2_0/UserAuthTypes.idl +++ b/user_auth/v2_0/UserAuthTypes.idl @@ -487,6 +487,8 @@ struct ReuseUnlockInfo { enum GlobalConfigType : int { /** Pin expired period */ PIN_EXPIRED_PERIOD = 1, + /** Enable specified authType capability. */ + SET_ENABLE_STATUS = 2, }; /** @@ -498,6 +500,8 @@ enum GlobalConfigType : int { union GlobalConfigValue { /** Pin expired period value. When pinExpiredPeriod equals to 0, userAuth won't check pin expired period. */ long pinExpiredPeriod; + /** Enable specified authType capability.*/ + boolean enableStatus; }; /** @@ -507,6 +511,10 @@ union GlobalConfigValue { * @version 1.0 */ struct GlobalConfigParam { + /** Specified userIds. GlobalConfigParam will be effect for all userspaces when the array is empty. */ + int[] userIds; + /** Specified authTypes, See @{AuthType}. GlobalConfigParam will be effect for all authTypes when the array is empty.*/ + int[] authTypes; /** Global config type. See @{GlobalConfigType}*/ int type; /** Global config value. See @{GlobalConfigValue}*/ -- Gitee From e8e17d7c4f948802973f5fe36c29356ac5f48bf2 Mon Sep 17 00:00:00 2001 From: liuziwei Date: Fri, 31 May 2024 03:18:11 +0000 Subject: [PATCH 2/3] update user_auth/v2_0/UserAuthTypes.idl. Signed-off-by: liuziwei --- user_auth/v2_0/UserAuthTypes.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_auth/v2_0/UserAuthTypes.idl b/user_auth/v2_0/UserAuthTypes.idl index afd68bae..c35a080a 100644 --- a/user_auth/v2_0/UserAuthTypes.idl +++ b/user_auth/v2_0/UserAuthTypes.idl @@ -488,7 +488,7 @@ enum GlobalConfigType : int { /** Pin expired period */ PIN_EXPIRED_PERIOD = 1, /** Enable specified authType capability. */ - SET_ENABLE_STATUS = 2, + ENABLE_STATUS = 2, }; /** -- Gitee From 95d1266ee884951e155f144ba6ef905a0ea651da Mon Sep 17 00:00:00 2001 From: liuziwei Date: Tue, 4 Jun 2024 17:59:29 +0800 Subject: [PATCH 3/3] fix code Signed-off-by: liuziwei Change-Id: I673c3ba5371f7d538f2111599c5abca5f4ab30fa --- user_auth/v2_0/UserAuthTypes.idl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/user_auth/v2_0/UserAuthTypes.idl b/user_auth/v2_0/UserAuthTypes.idl index c35a080a..c2f896eb 100644 --- a/user_auth/v2_0/UserAuthTypes.idl +++ b/user_auth/v2_0/UserAuthTypes.idl @@ -511,14 +511,14 @@ union GlobalConfigValue { * @version 1.0 */ struct GlobalConfigParam { - /** Specified userIds. GlobalConfigParam will be effect for all userspaces when the array is empty. */ - int[] userIds; - /** Specified authTypes, See @{AuthType}. GlobalConfigParam will be effect for all authTypes when the array is empty.*/ - int[] authTypes; /** Global config type. See @{GlobalConfigType}*/ int type; /** Global config value. See @{GlobalConfigValue}*/ GlobalConfigValue value; + /** Specified userIds. GlobalConfigParam will be effect for all userspaces when the array is empty. */ + int[] userIds; + /** Specified authTypes, See @{AuthType}. GlobalConfigParam will be effect for all authTypes when the array is empty.*/ + int[] authTypes; }; /** @} */ \ No newline at end of file -- Gitee