/external/chromium_org/chrome/browser/chromeos/login/ |
authenticator.cc | 5 #include "chrome/browser/chromeos/login/authenticator.h" 11 Authenticator::Authenticator(LoginStatusConsumer* consumer) 16 Authenticator::~Authenticator() {} 18 void Authenticator::SetConsumer(LoginStatusConsumer* consumer) {
|
authenticator.h | 26 class Authenticator : public base::RefCountedThreadSafe<Authenticator> { 28 explicit Authenticator(LoginStatusConsumer* consumer); 94 virtual ~Authenticator(); 100 friend class base::RefCountedThreadSafe<Authenticator>; 102 DISALLOW_COPY_AND_ASSIGN(Authenticator);
|
fake_login_utils.h | 33 virtual scoped_refptr<Authenticator> CreateAuthenticator( 47 scoped_refptr<Authenticator> authenticator_;
|
/external/chromium/chrome/browser/chromeos/login/ |
authenticator_unittest.cc | 5 #include "chrome/browser/chromeos/login/authenticator.h" 13 EXPECT_EQ(lower_case, Authenticator::Canonicalize(lower_case)); 17 EXPECT_EQ(Authenticator::Canonicalize("user@what.com"), 18 Authenticator::Canonicalize("UsEr@what.com")); 22 EXPECT_EQ(Authenticator::Canonicalize("user@what.com"), 23 Authenticator::Canonicalize("UsEr@what.COM")); 27 EXPECT_NE(Authenticator::Canonicalize("u.ser@what.com"), 28 Authenticator::Canonicalize("UsEr@what.com")); 32 EXPECT_EQ(Authenticator::Canonicalize("u.ser@what.com"), 33 Authenticator::Canonicalize("U.sEr@what.com")) [all...] |
authenticator.cc | 5 #include "chrome/browser/chromeos/login/authenticator.h" 18 const char Authenticator::kSpecialCaseDomain[] = "gmail.com"; 20 Authenticator::Authenticator(LoginStatusConsumer* consumer) 24 Authenticator::~Authenticator() {} 27 std::string Authenticator::Canonicalize(const std::string& email_address) {
|
authenticator.h | 24 class Authenticator : public base::RefCountedThreadSafe<Authenticator> { 29 explicit Authenticator(LoginStatusConsumer* consumer); 30 virtual ~Authenticator(); 100 DISALLOW_COPY_AND_ASSIGN(Authenticator);
|
login_utils.h | 24 class Authenticator; 67 // Creates and returns the authenticator to use. The caller owns the returned 68 // Authenticator and must delete it when done. 69 virtual Authenticator* CreateAuthenticator(LoginStatusConsumer* consumer) = 0;
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldAuthenticatorRequestorTypeTest.java | 19 import java.net.Authenticator; 25 assertEquals(Authenticator.RequestorType.PROXY, 26 Authenticator.RequestorType.valueOf("PROXY")); 27 assertEquals(Authenticator.RequestorType.SERVER, 28 Authenticator.RequestorType.valueOf("SERVER")); 30 Authenticator.RequestorType.valueOf("TEST"); 37 Authenticator.RequestorType[] expectedTypes = { 38 Authenticator.RequestorType.PROXY, 39 Authenticator.RequestorType.SERVER 42 Authenticator.RequestorType[] types = Authenticator.RequestorType.values() [all...] |
OldAuthenticatorTest.java | 19 import java.net.Authenticator; 30 PasswordAuthentication pa = Authenticator.requestPasswordAuthentication( 35 Authenticator.setDefault(mock); 38 pa = Authenticator.requestPasswordAuthentication(addr, 80, "http", "promt", "HTTP"); 41 Authenticator.setDefault(null); 55 class MockAuthenticator extends Authenticator { 60 public Authenticator.RequestorType getRequestorType() {
|
/external/chromium_org/remoting/protocol/ |
authenticator.cc | 5 #include "remoting/protocol/authenticator.h" 19 bool Authenticator::IsAuthenticatorMessage(const buzz::XmlElement* message) { 24 scoped_ptr<buzz::XmlElement> Authenticator::CreateEmptyAuthenticatorMessage() { 30 const buzz::XmlElement* Authenticator::FindAuthenticatorMessage(
|
authenticator.h | 27 // Authenticator is an abstract interface for authentication protocol 34 // Authenticator may exchange multiple messages before session is 35 // authenticated. Each message sent/received by an Authenticator is 40 class Authenticator { 75 // Returns true if |message| is an Authenticator message. 78 // Creates an empty Authenticator message, owned by the caller. 81 // Finds Authenticator message among child elements of |message|, or 86 Authenticator() {} 87 virtual ~Authenticator() {} 89 // Returns current state of the authenticator [all...] |
v2_authenticator_unittest.cc | 46 Authenticator::WAITING_MESSAGE); 48 client_secret, Authenticator::MESSAGE_READY); 66 ASSERT_EQ(Authenticator::ACCEPTED, host_->state()); 67 ASSERT_EQ(Authenticator::ACCEPTED, client_->state()); 87 ASSERT_EQ(Authenticator::REJECTED, client_->state()); 91 Authenticator::MESSAGE_READY; 96 ASSERT_EQ(Authenticator::WAITING_MESSAGE, client_->state()); 99 ASSERT_EQ(Authenticator::REJECTED, host_->state());
|
authenticator_test_base.h | 26 class Authenticator; 43 static void ContinueAuthExchangeWith(Authenticator* sender, 44 Authenticator* receiver); 60 scoped_ptr<Authenticator> host_; 61 scoped_ptr<Authenticator> client_;
|
negotiating_authenticator_base.h | 15 #include "remoting/protocol/authenticator.h" 21 // This class provides the common base for a meta-authenticator that allows 30 // * Client creates the authenticator selected by the host. If the method 40 // callback, that will resume the authentication once the authenticator is 42 // authenticator, this callback includes a call to the underlying 47 // authenticator is created, it is given a preferred initial state, which 48 // the authenticator may ignore. 49 // * If the new authenticator state doesn't match the preferred one, 51 // <authenticator> stanza if the method has no message to send, and 61 class NegotiatingAuthenticatorBase : public Authenticator { [all...] |
session_manager.h | 23 // delegate authentication to an Authenticator implementation. For 26 // method. For outgoing sessions authenticator must be passed to the 69 class Authenticator; 131 // |authenticator| is a client authenticator for the session. 135 scoped_ptr<Authenticator> authenticator, 143 // Set authenticator factory that should be used to authenticate 145 // authenticator factory isn't set. Must not be called more than
|
third_party_authenticator_unittest.cc | 135 ASSERT_EQ(Authenticator::PROCESSING_MESSAGE, client_->state()); 138 ASSERT_EQ(Authenticator::PROCESSING_MESSAGE, host_->state()); 143 ASSERT_EQ(Authenticator::ACCEPTED, host_->state()); 144 ASSERT_EQ(Authenticator::ACCEPTED, client_->state()); 162 ASSERT_EQ(Authenticator::PROCESSING_MESSAGE, client_->state()); 168 ASSERT_EQ(Authenticator::REJECTED, client_->state()); 174 ASSERT_EQ(Authenticator::PROCESSING_MESSAGE, client_->state()); 177 ASSERT_EQ(Authenticator::PROCESSING_MESSAGE, host_->state()); 181 ASSERT_EQ(Authenticator::REJECTED, host_->state()); 187 ASSERT_EQ(Authenticator::PROCESSING_MESSAGE, client_->state()) [all...] |
pairing_authenticator_base.h | 9 #include "remoting/protocol/authenticator.h" 15 // The pairing authenticator builds on top of V2Authenticator to add 39 class PairingAuthenticatorBase : public Authenticator { 44 // Authenticator interface. 54 typedef base::Callback<void(scoped_ptr<Authenticator> authenticator)> 60 // Create a V2 authenticator in the specified state, prompting the user for 66 // Amend an authenticator message, for example to add client- or host-specific 76 // The underlying V2 authenticator, created with either the PIN or the 78 scoped_ptr<Authenticator> v2_authenticator_ [all...] |
/frameworks/base/obex/javax/obex/ |
Authenticator.java | 83 public interface Authenticator {
|
SessionNotifier.java | 53 * the handler to handle the requests from the client. No authenticator is 92 * <code>Authenticator</code> to use to respond to authentication challenge 120 * @param auth the <code>Authenticator</code> to use with this connection; 121 * if <code>null</code> then no <code>Authenticator</code> will be 127 ObexSession acceptAndOpen(ServerRequestHandler handler, Authenticator auth) throws IOException;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
AuthenticatorTest.java | 22 import java.net.Authenticator; 30 import java.net.Authenticator.RequestorType; 38 * @tests java.net.Authenticator.RequestorType#valueOf(String) 41 assertEquals(RequestorType.PROXY, Authenticator.RequestorType 43 assertEquals(RequestorType.SERVER, Authenticator.RequestorType 46 RequestorType rt = Authenticator.RequestorType.valueOf("BADNAME"); 54 Authenticator.RequestorType.valueOf(null); 64 * @tests java.net.Authenticator.RequestorType#values() 73 * @tests java.net.Authenticator#requestPasswordAuthentication(java.net.InetAddress, int, String, String, String) 79 Authenticator.setDefault(mock) [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
Authenticator.java | 24 public interface Authenticator {
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
RecordingAuthenticator.java | 18 import java.net.Authenticator; 23 public final class RecordingAuthenticator extends Authenticator {
|
/external/chromium_org/remoting/host/ |
pam_authorization_factory_posix.h | 8 #include "remoting/protocol/authenticator.h" 23 virtual scoped_ptr<protocol::Authenticator> CreateAuthenticator(
|
pam_authorization_factory_posix.cc | 20 class PamAuthorizer : public protocol::Authenticator { 22 PamAuthorizer(scoped_ptr<protocol::Authenticator> underlying); 25 // protocol::Authenticator interface. 44 scoped_ptr<protocol::Authenticator> underlying_; 49 PamAuthorizer::PamAuthorizer(scoped_ptr<protocol::Authenticator> underlying) 57 protocol::Authenticator::State PamAuthorizer::state() const { 65 protocol::Authenticator::RejectionReason 162 scoped_ptr<protocol::Authenticator> 167 scoped_ptr<protocol::Authenticator> authenticator( [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
AuthenticationService.java | 17 package com.example.android.samplesync.authenticator; 25 * Service to handle Account authentication. It instantiates the authenticator 32 private Authenticator mAuthenticator; 39 mAuthenticator = new Authenticator(this);
|