diff --git a/user_auth/v2_0/UserAuthTypes.idl b/user_auth/v2_0/UserAuthTypes.idl index ae3ac0bc3a6e9292fcd2f6715d134da43a760b71..2dc7aba1f93075d79d7434cd5bfed2337f0ff53f 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. */ + 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; }; /** @@ -511,6 +515,10 @@ struct GlobalConfigParam { 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