diff options
author | pneubeck <pneubeck@chromium.org> | 2014-10-07 02:17:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-07 09:17:55 +0000 |
commit | 5a85abfe99e683da34ba16115f063241fdae2acb (patch) | |
tree | 882659078feefae631eca6dc187b82450081a6ee /components/onc/onc_constants.h | |
parent | fb66cb4f9b6e380fa4b52301dee993b0b7b3b994 (diff) | |
download | chromium_src-5a85abfe99e683da34ba16115f063241fdae2acb.zip chromium_src-5a85abfe99e683da34ba16115f063241fdae2acb.tar.gz chromium_src-5a85abfe99e683da34ba16115f063241fdae2acb.tar.bz2 |
Add OpenVPN OTP and UserAuthenticationType fields to ONC.
Reland of https://codereview.chromium.org/560863002/ which the CQ failed to commit correctly.
This does not adapt the UI to respect the policy's UserAuthenticationType, yet.
BUG=347916
TBR=stevenjb@chromium.org
TEST=Ensured that a previously working policy pushed OpenVPN network still works.
Review URL: https://codereview.chromium.org/632223002
Cr-Commit-Position: refs/heads/master@{#298431}
Diffstat (limited to 'components/onc/onc_constants.h')
-rw-r--r-- | components/onc/onc_constants.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/components/onc/onc_constants.h b/components/onc/onc_constants.h index d96e190..5e197e0 100644 --- a/components/onc/onc_constants.h +++ b/components/onc/onc_constants.h @@ -328,6 +328,8 @@ ONC_EXPORT extern const char kKeyDirection[]; ONC_EXPORT extern const char kNoInteract[]; ONC_EXPORT extern const char kNone[]; ONC_EXPORT extern const char kNsCertType[]; +ONC_EXPORT extern const char kOTP[]; +ONC_EXPORT extern const char kPassword[]; ONC_EXPORT extern const char kPort[]; ONC_EXPORT extern const char kProto[]; ONC_EXPORT extern const char kPushPeerInfo[]; @@ -346,11 +348,19 @@ ONC_EXPORT extern const char kShaper[]; ONC_EXPORT extern const char kStaticChallenge[]; ONC_EXPORT extern const char kTLSAuthContents[]; ONC_EXPORT extern const char kTLSRemote[]; +ONC_EXPORT extern const char kUserAuthenticationType[]; ONC_EXPORT extern const char kVerb[]; ONC_EXPORT extern const char kVerifyHash[]; ONC_EXPORT extern const char kVerifyX509[]; } // namespace openvpn +namespace openvpn_user_auth_type { +ONC_EXPORT extern const char kNone[]; +ONC_EXPORT extern const char kOTP[]; +ONC_EXPORT extern const char kPassword[]; +ONC_EXPORT extern const char kPasswordAndOTP[]; +} // openvpn_user_auth_type + namespace verify_x509 { ONC_EXPORT extern const char kName[]; ONC_EXPORT extern const char kType[]; |