Searched defs:mechanisms (Results 1 - 4 of 4) sorted by relevance

/external/webrtc/webrtc/libjingle/xmpp/
H A Dplainsaslhandler.h31 virtual std::string ChooseBestSaslMechanism(const std::vector<std::string> & mechanisms, bool encrypted) { argument
37 std::vector<std::string>::const_iterator it = std::find(mechanisms.begin(), mechanisms.end(), "PLAIN");
38 if (it == mechanisms.end()) {
H A Dxmppauth.cc45 const std::vector<std::string>& mechanisms,
49 contains(mechanisms, buzz::AUTH_MECHANISM_OAUTH2)) {
55 contains(mechanisms, buzz::AUTH_MECHANISM_GOOGLE_TOKEN)) {
61 contains(mechanisms, buzz::AUTH_MECHANISM_GOOGLE_COOKIE)) {
66 if (contains(mechanisms, buzz::AUTH_MECHANISM_PLAIN)) {
44 ChooseBestSaslMechanism( const std::vector<std::string>& mechanisms, bool encrypted) argument
H A Dxmpplogintask.cc181 // Collect together the SASL auth mechanisms presented by the server
182 std::vector<std::string> mechanisms; local
188 mechanisms.push_back(pelMech->BodyText());
191 // Given all the mechanisms, choose the best
192 std::string choice(pctx_->ChooseBestSaslMechanism(mechanisms, pctx_->IsEncrypted()));
H A Dxmppengineimpl.cc356 const std::vector<std::string>& mechanisms, bool encrypted) {
357 return sasl_handler_->ChooseBestSaslMechanism(mechanisms, encrypted);
355 ChooseBestSaslMechanism( const std::vector<std::string>& mechanisms, bool encrypted) argument

Completed in 112 milliseconds