• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 UserIam {
26 namespace UserAuth {
27 using IUserAuthInterface = OHOS::HDI::UserAuth::V1_1::IUserAuthInterface;
28 
29 using HdiAuthType = OHOS::HDI::UserAuth::V1_0::AuthType;
30 using HdiExecutorRole = OHOS::HDI::UserAuth::V1_0::ExecutorRole;
31 using HdiExecutorSecureLevel = OHOS::HDI::UserAuth::V1_0::ExecutorSecureLevel;
32 using HdiPinSubType = OHOS::HDI::UserAuth::V1_0::PinSubType;
33 using HdiScheduleMode = OHOS::HDI::UserAuth::V1_0::ScheduleMode;
34 using HdiExecutorRegisterInfo = OHOS::HDI::UserAuth::V1_0::ExecutorRegisterInfo;
35 using HdiExecutorInfo = OHOS::HDI::UserAuth::V1_0::ExecutorInfo;
36 using HdiScheduleInfoV1_0 = OHOS::HDI::UserAuth::V1_1::ScheduleInfo;
37 using HdiScheduleInfo = OHOS::HDI::UserAuth::V1_1::ScheduleInfoV1_1;
38 using HdiAuthSolution = OHOS::HDI::UserAuth::V1_0::AuthSolution;
39 using HdiExecutorSendMsg = OHOS::HDI::UserAuth::V1_0::ExecutorSendMsg;
40 using HdiAuthResultInfo = OHOS::HDI::UserAuth::V1_0::AuthResultInfo;
41 using HdiIdentifyResultInfo = OHOS::HDI::UserAuth::V1_0::IdentifyResultInfo;
42 using HdiEnrollParam = OHOS::HDI::UserAuth::V1_0::EnrollParam;
43 using HdiCredentialInfo = OHOS::HDI::UserAuth::V1_0::CredentialInfo;
44 using HdiEnrolledInfo = OHOS::HDI::UserAuth::V1_0::EnrolledInfo;
45 using HdiEnrollResultInfo = OHOS::HDI::UserAuth::V1_0::EnrollResultInfo;
46 
47 using ScheduleInfoV1_1 = OHOS::HDI::UserAuth::V1_1::ScheduleInfoV1_1;
48 } // namespace UserAuth
49 } // namespace UserIam
50 } // namespace OHOS
51 
52 #endif // USER_AUTH_HDI