1 /* 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef USER_AUTH_HDI 17 #define USER_AUTH_HDI 18 19 #include "v1_0/user_auth_types.h" 20 #include "v1_1/iuser_auth_interface.h" 21 #include "v1_1/user_auth_types.h" 22 #include "v1_1/user_auth_interface_service.h" 23 24 namespace OHOS { 25 namespace HDI { 26 namespace UserAuth { 27 using IUserAuthInterface = OHOS::HDI::UserAuth::V1_1::IUserAuthInterface; 28 using UserAuthInterfaceService = OHOS::HDI::UserAuth::V1_1::UserAuthInterfaceService; 29 30 using AuthType = OHOS::HDI::UserAuth::V1_0::AuthType; 31 using ExecutorRole = OHOS::HDI::UserAuth::V1_0::ExecutorRole; 32 using ExecutorSecureLevel = OHOS::HDI::UserAuth::V1_0::ExecutorSecureLevel; 33 using PinSubType = OHOS::HDI::UserAuth::V1_0::PinSubType; 34 using ScheduleMode = OHOS::HDI::UserAuth::V1_0::ScheduleMode; 35 using ExecutorRegisterInfo = OHOS::HDI::UserAuth::V1_0::ExecutorRegisterInfo; 36 using ExecutorInfo = OHOS::HDI::UserAuth::V1_0::ExecutorInfo; 37 using ScheduleInfo = OHOS::HDI::UserAuth::V1_0::ScheduleInfo; 38 using AuthSolution = OHOS::HDI::UserAuth::V1_0::AuthSolution; 39 using ExecutorSendMsg = OHOS::HDI::UserAuth::V1_0::ExecutorSendMsg; 40 using AuthResultInfo = OHOS::HDI::UserAuth::V1_0::AuthResultInfo; 41 using IdentifyResultInfo = OHOS::HDI::UserAuth::V1_0::IdentifyResultInfo; 42 using EnrollParam = OHOS::HDI::UserAuth::V1_0::EnrollParam; 43 using CredentialInfo = OHOS::HDI::UserAuth::V1_0::CredentialInfo; 44 using EnrolledInfo = OHOS::HDI::UserAuth::V1_0::EnrolledInfo; 45 using EnrollResultInfo = OHOS::HDI::UserAuth::V1_0::EnrollResultInfo; 46 47 using ScheduleInfoV1_1 = OHOS::HDI::UserAuth::V1_1::ScheduleInfoV1_1; 48 } // namespace UserAuth 49 } // namespace HDI 50 } // namespace OHOS 51 52 #endif // USER_AUTH_HDI