Files
useriam_user_auth/services/include/userauth_stub.h
T
https://gitee.com/WALL_EYE ec3de660b6 fix UserAuth issue
Signed-off-by: https://gitee.com/WALL_EYE <wangguoqiang12@huawei.com>
Change-Id: I3f46d5250653e1b3654e8d51df8fe2abd3a112e6
2022-03-12 20:47:37 +08:00

42 lines
1.5 KiB
C++

/*
* Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef USERAUTH_STUB_H
#define USERAUTH_STUB_H
#include <iremote_stub.h>
#include "iuser_auth.h"
namespace OHOS {
namespace UserIAM {
namespace UserAuth {
class UserAuthStub : public IRemoteStub<IUserAuth> {
public:
int32_t OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override;
private:
int32_t GetAvailableStatusStub(MessageParcel &data, MessageParcel &reply);
int32_t GetPropertyStub(MessageParcel &data, MessageParcel &reply);
int32_t SetPropertyStub(MessageParcel &data, MessageParcel &reply);
int32_t AuthStub(MessageParcel &data, MessageParcel &reply);
int32_t AuthUserStub(MessageParcel &data, MessageParcel &reply);
int32_t CancelAuthStub(MessageParcel &data, MessageParcel &reply);
int32_t GetVersionStub(MessageParcel &data, MessageParcel &reply);
};
} // namespace UserAuth
} // namespace UserIAM
} // namespace OHOS
#endif // USERAUTH_STUB_H