diff options
author | Lutz Justen <ljusten@chromium.org> | 2016-10-14 16:15:09 +0200 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-10-24 07:38:26 -0700 |
commit | 04ffa5a6f8cc773df1d8cbd4cb136164a9163543 (patch) | |
tree | fcd1d45633154571ad65900a26369645a309d1ad /dbus/authpolicy/dbus-constants.h | |
parent | 1b4c3d4eb439f174a4c8a615dbe433a4724e0346 (diff) | |
download | system_api-04ffa5a6f8cc773df1d8cbd4cb136164a9163543.tar.gz |
Add authpolicy and login_manager constants
Authpolicy service constants are required to communicate with the
upcoming authpolicy daemon. The login manager constants refer to two
methods that have been implemented in
https://chromium-review.googlesource.com/c/397318/.
BUG=chromium:653509
TEST=not required, just string additions
Change-Id: I1c124e4d48a3ca20ee85ba12dd47a41cbc82b3ba
Reviewed-on: https://chromium-review.googlesource.com/398799
Commit-Ready: Lutz Justen <ljusten@chromium.org>
Tested-by: Lutz Justen <ljusten@chromium.org>
Reviewed-by: Lutz Justen <ljusten@chromium.org>
Reviewed-by: Thiemo Nagel <tnagel@chromium.org>
Reviewed-by: Roman Sorokin <rsorokin@chromium.org>
Diffstat (limited to 'dbus/authpolicy/dbus-constants.h')
-rw-r--r-- | dbus/authpolicy/dbus-constants.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dbus/authpolicy/dbus-constants.h b/dbus/authpolicy/dbus-constants.h new file mode 100644 index 0000000..12ed751 --- /dev/null +++ b/dbus/authpolicy/dbus-constants.h @@ -0,0 +1,19 @@ +// Copyright 2016 The Chromium OS Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef SYSTEM_API_DBUS_AUTHPOLICY_DBUS_CONSTANTS_H_ +#define SYSTEM_API_DBUS_AUTHPOLICY_DBUS_CONSTANTS_H_ + +namespace authpolicy { +const char kAuthPolicyInterface[] = "org.chromium.AuthPolicy"; +const char kAuthPolicyServicePath[] = "/org/chromium/AuthPolicy"; +const char kAuthPolicyServiceName[] = "org.chromium.AuthPolicy"; +// Methods +const char kAuthPolicyAuthenticateUser[] = "AuthenticateUser"; +const char kAuthPolicyJoinADDomain[] = "JoinADDomain"; +const char kAuthPolicyRefreshUserPolicy[] = "RefreshUserPolicy"; +const char kAuthPolicyRefreshDevicePolicy[] = "RefreshDevicePolicy"; +} // namespace authpolicy + +#endif // SYSTEM_API_DBUS_AUTHPOLICY_DBUS_CONSTANTS_H_ |