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_2/iuser_auth_interface.h" 20 #include "v1_2/user_auth_types.h" 21 #include "v1_2/user_auth_interface_service.h" 22 23 namespace OHOS { 24 namespace UserIam { 25 namespace UserAuth { 26 using IUserAuthInterface = OHOS::HDI::UserAuth::V1_2::IUserAuthInterface; 27 28 using HdiAuthType = OHOS::HDI::UserAuth::V1_2::AuthType; 29 using HdiExecutorRole = OHOS::HDI::UserAuth::V1_2::ExecutorRole; 30 using HdiExecutorSecureLevel = OHOS::HDI::UserAuth::V1_2::ExecutorSecureLevel; 31 using HdiPinSubType = OHOS::HDI::UserAuth::V1_2::PinSubType; 32 using HdiScheduleMode = OHOS::HDI::UserAuth::V1_2::ScheduleMode; 33 using HdiExecutorRegisterInfo = OHOS::HDI::UserAuth::V1_2::ExecutorRegisterInfo; 34 using HdiExecutorInfo = OHOS::HDI::UserAuth::V1_2::ExecutorInfo; 35 using HdiScheduleInfoV1_0 = OHOS::HDI::UserAuth::V1_2::ScheduleInfo; 36 using HdiScheduleInfo = OHOS::HDI::UserAuth::V1_2::ScheduleInfoV1_1; 37 using HdiAuthSolutionV1_0 = OHOS::HDI::UserAuth::V1_2::AuthSolution; 38 using HdiAuthSolution = OHOS::HDI::UserAuth::V1_2::AuthSolutionV1_2; 39 using HdiExecutorSendMsg = OHOS::HDI::UserAuth::V1_2::ExecutorSendMsg; 40 using HdiAuthResultInfo = OHOS::HDI::UserAuth::V1_2::AuthResultInfo; 41 using HdiIdentifyResultInfo = OHOS::HDI::UserAuth::V1_2::IdentifyResultInfo; 42 using HdiEnrollParamV1_0 = OHOS::HDI::UserAuth::V1_2::EnrollParam; 43 using HdiEnrollParam = OHOS::HDI::UserAuth::V1_2::EnrollParamV1_2; 44 using HdiCredentialInfo = OHOS::HDI::UserAuth::V1_2::CredentialInfo; 45 using HdiEnrolledInfo = OHOS::HDI::UserAuth::V1_2::EnrolledInfo; 46 using HdiEnrollResultInfo = OHOS::HDI::UserAuth::V1_2::EnrollResultInfo; 47 48 using ScheduleInfoV1_1 = OHOS::HDI::UserAuth::V1_2::ScheduleInfoV1_1; 49 using UserInfo = OHOS::HDI::UserAuth::V1_2::UserInfo; 50 using ExtUserInfo = OHOS::HDI::UserAuth::V1_2::ExtUserInfo; 51 } // namespace UserAuth 52 } // namespace UserIam 53 } // namespace OHOS 54 55 #endif // USER_AUTH_HDI