Home
last modified time | relevance | path

Searched refs:otp (Results 1 – 2 of 2) sorted by relevance

/system/connectivity/shill/vpn/
Dopenvpn_management_server.cc290 string otp = driver_->args()->LookupString(kOpenVPNOTPProperty, ""); in PerformStaticChallenge() local
292 if (user.empty() || (token.empty() && (password.empty() || otp.empty()))) { in PerformStaticChallenge()
297 << (otp.empty() ? " no-otp" : ""); in PerformStaticChallenge()
309 string b64_otp(brillo::data_encoding::Base64Encode(otp)); in PerformStaticChallenge()
Dopenvpn_driver_unittest.cc88 otp(otp_in), in AuthenticationExpectations()
95 string otp; member
429 if (!GetParam().otp.empty()) { in TEST_P()
430 store.SetStringProperty(kOpenVPNOTPProperty, GetParam().otp, &unused_error); in TEST_P()