Searched refs:Authenticator (Results 1 - 25 of 82) sorted by relevance

1234

/external/chromium_org/chrome/browser/chromeos/login/auth/
H A Dauthenticator.cc11 Authenticator::Authenticator(LoginStatusConsumer* consumer) function in class:chromeos::Authenticator
16 Authenticator::~Authenticator() {}
18 void Authenticator::SetConsumer(LoginStatusConsumer* consumer) {
H A Dauthenticator.h26 class Authenticator : public base::RefCountedThreadSafe<Authenticator> { class in namespace:chromeos
28 explicit Authenticator(LoginStatusConsumer* consumer);
97 virtual ~Authenticator();
103 friend class base::RefCountedThreadSafe<Authenticator>;
105 DISALLOW_COPY_AND_ASSIGN(Authenticator);
/external/chromium_org/remoting/protocol/
H A Dauthenticator.cc19 bool Authenticator::IsAuthenticatorMessage(const buzz::XmlElement* message) {
24 scoped_ptr<buzz::XmlElement> Authenticator::CreateEmptyAuthenticatorMessage() {
30 const buzz::XmlElement* Authenticator::FindAuthenticatorMessage(
H A Dv2_authenticator_unittest.cc46 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());
H A Dauthenticator_test_base.h26 class Authenticator;
43 static void ContinueAuthExchangeWith(Authenticator* sender,
44 Authenticator* receiver,
62 scoped_ptr<Authenticator> host_;
63 scoped_ptr<Authenticator> client_;
H A Dthird_party_authenticator_unittest.cc134 ASSERT_EQ(Authenticator::PROCESSING_MESSAGE, client_->state());
137 ASSERT_EQ(Authenticator::PROCESSING_MESSAGE, host_->state());
142 ASSERT_EQ(Authenticator::ACCEPTED, host_->state());
143 ASSERT_EQ(Authenticator::ACCEPTED, client_->state());
161 ASSERT_EQ(Authenticator::PROCESSING_MESSAGE, client_->state());
167 ASSERT_EQ(Authenticator::REJECTED, client_->state());
173 ASSERT_EQ(Authenticator::PROCESSING_MESSAGE, client_->state());
176 ASSERT_EQ(Authenticator::PROCESSING_MESSAGE, host_->state());
180 ASSERT_EQ(Authenticator::REJECTED, host_->state());
186 ASSERT_EQ(Authenticator
[all...]
H A Dauthenticator.h27 // 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 { class in namespace:remoting::protocol
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() {} function in class:remoting::protocol::Authenticator
87 virtual ~Authenticator() {}
104 // called after the Authenticator i
[all...]
H A Dpairing_authenticator_base.h39 class PairingAuthenticatorBase : public Authenticator {
44 // Authenticator interface.
55 typedef base::Callback<void(scoped_ptr<Authenticator> authenticator)>
79 scoped_ptr<Authenticator> v2_authenticator_;
93 scoped_ptr<Authenticator> authenticator);
H A Dauthenticator_test_base.cc80 void AuthenticatorTestBase::ContinueAuthExchangeWith(Authenticator* sender,
81 Authenticator* receiver,
85 ASSERT_NE(Authenticator::WAITING_MESSAGE, sender->state());
86 if (sender->state() == Authenticator::ACCEPTED ||
87 sender->state() == Authenticator::REJECTED)
100 ASSERT_EQ(Authenticator::MESSAGE_READY, sender->state());
103 ASSERT_NE(Authenticator::MESSAGE_READY, sender->state());
105 ASSERT_EQ(Authenticator::WAITING_MESSAGE, receiver->state());
H A Dsession_manager.h23 // delegate authentication to an Authenticator implementation. For
69 class Authenticator;
135 scoped_ptr<Authenticator> authenticator,
H A Dnegotiating_authenticator_base.h61 class NegotiatingAuthenticatorBase : public Authenticator {
65 // Authenticator interface.
86 explicit NegotiatingAuthenticatorBase(Authenticator::State initial_state);
100 scoped_ptr<Authenticator> current_authenticator_;
H A Dnegotiating_authenticator_unittest.cc106 void VerifyRejected(Authenticator::RejectionReason reason) {
107 ASSERT_TRUE(client_->state() == Authenticator::REJECTED ||
108 host_->state() == Authenticator::REJECTED);
109 if (client_->state() == Authenticator::REJECTED) {
112 if (host_->state() == Authenticator::REJECTED) {
120 ASSERT_EQ(Authenticator::ACCEPTED, host_->state());
121 ASSERT_EQ(Authenticator::ACCEPTED, client_->state());
178 VerifyRejected(Authenticator::INVALID_CREDENTIALS);
187 VerifyRejected(Authenticator::INVALID_CREDENTIALS);
196 VerifyRejected(Authenticator
[all...]
H A Dnegotiating_host_authenticator.h35 static scoped_ptr<Authenticator> CreateWithSharedSecret(
43 static scoped_ptr<Authenticator> CreateWithThirdPartyAuth(
48 // Overriden from Authenticator.
62 void CreateAuthenticator(Authenticator::State preferred_initial_state,
H A Dthird_party_authenticator_base.cc29 Authenticator::State initial_state)
42 Authenticator::State ThirdPartyAuthenticatorBase::state() const {
48 Authenticator::RejectionReason
H A Dv2_authenticator.h23 class V2Authenticator : public Authenticator {
27 static scoped_ptr<Authenticator> CreateForClient(
31 static scoped_ptr<Authenticator> CreateForHost(
39 // Authenticator interface.
H A Dme2me_host_authenticator_factory.cc20 // Authenticator that accepts one message and rejects connection after that.
21 class RejectingAuthenticator : public Authenticator {
118 scoped_ptr<Authenticator> Me2MeHostAuthenticatorFactory::CreateAuthenticator(
133 return scoped_ptr<Authenticator>(new RejectingAuthenticator());
147 return scoped_ptr<Authenticator>(new RejectingAuthenticator());
163 return scoped_ptr<Authenticator>(new RejectingAuthenticator());
H A Dnegotiating_authenticator_base.cc30 Authenticator::State initial_state)
39 Authenticator::State NegotiatingAuthenticatorBase::state() const {
50 Authenticator::RejectionReason
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
H A DRecordingAuthenticator.java18 import java.net.Authenticator;
23 public final class RecordingAuthenticator extends Authenticator {
/external/chromium_org/remoting/host/
H A Dpam_authorization_factory_posix.cc20 class PamAuthorizer : public protocol::Authenticator {
22 PamAuthorizer(scoped_ptr<protocol::Authenticator> underlying);
25 // protocol::Authenticator interface.
45 scoped_ptr<protocol::Authenticator> underlying_;
50 PamAuthorizer::PamAuthorizer(scoped_ptr<protocol::Authenticator> underlying)
58 protocol::Authenticator::State PamAuthorizer::state() const {
70 protocol::Authenticator::RejectionReason
167 scoped_ptr<protocol::Authenticator>
172 scoped_ptr<protocol::Authenticator> authenticator(
174 return scoped_ptr<protocol::Authenticator>(
[all...]
H A Dpam_authorization_factory_posix.h23 virtual scoped_ptr<protocol::Authenticator> CreateAuthenticator(
/external/chromium_org/chrome/browser/resources/gaia_auth/
H A Dmain.js6 * Authenticator class wraps the communications between Gaia and its host.
8 function Authenticator() { function
15 Authenticator.THIS_EXTENSION_ORIGIN =
22 Authenticator.MIN_API_VERSION_VERSION = 1;
28 Authenticator.MAX_API_VERSION_VERSION = 1;
34 Authenticator.API_KEY_TYPES = [
39 * Singleton getter of Authenticator.
40 * @return {Object} The singleton instance of Authenticator.
42 Authenticator.getInstance = function() {
43 if (!Authenticator
47 Authenticator.prototype = { class
[all...]
/external/chromium_org/chrome/browser/chromeos/login/
H A Dfake_login_utils.h32 virtual scoped_refptr<Authenticator> CreateAuthenticator(
41 scoped_refptr<Authenticator> authenticator_;
H A Dlogin_utils.h22 class Authenticator;
83 // Authenticator instance and had to delete it when done.
85 // Starting with WebUI login (R15) single Authenticator instance is used for
86 // entire login process, even for multiple retries. Authenticator instance
90 virtual scoped_refptr<Authenticator> CreateAuthenticator(
H A Dtest_login_utils.cc33 scoped_refptr<Authenticator> TestLoginUtils::CreateAuthenticator(
/external/chromium_org/chrome/browser/chromeos/login/lock/
H A Dscreen_locker.h34 class Authenticator;
135 void SetAuthenticator(Authenticator* authenticator);
156 scoped_refptr<Authenticator> authenticator_;

Completed in 446 milliseconds

1234