Lines Matching refs:authenticator
16 #include "remoting/protocol/authenticator.h"
56 Authenticator::RejectionReason reason) {
58 case Authenticator::INVALID_CREDENTIALS:
60 case Authenticator::PROTOCOL_ERROR:
101 scoped_ptr<Authenticator> authenticator,
104 DCHECK(authenticator.get());
105 DCHECK_EQ(authenticator->state(), Authenticator::MESSAGE_READY);
108 authenticator_ = authenticator.Pass();
131 scoped_ptr<Authenticator> authenticator) {
134 DCHECK(authenticator.get());
135 DCHECK_EQ(authenticator->state(), Authenticator::WAITING_MESSAGE);
138 authenticator_ = authenticator.Pass();
158 DCHECK_EQ(authenticator_->state(), Authenticator::WAITING_MESSAGE);
166 DCHECK_NE(authenticator_->state(), Authenticator::PROCESSING_MESSAGE);
167 if (authenticator_->state() == Authenticator::REJECTED) {
178 if (authenticator_->state() == Authenticator::MESSAGE_READY)
189 if (authenticator_->state() == Authenticator::ACCEPTED) {
192 DCHECK_EQ(authenticator_->state(), Authenticator::WAITING_MESSAGE);
487 DCHECK(authenticator_->state() == Authenticator::WAITING_MESSAGE);
495 Authenticator::IsAuthenticatorMessage(message.info.get())) {
501 authenticator_->state() != Authenticator::WAITING_MESSAGE) {
502 LOG(WARNING) << "Received unexpected authenticator message "
589 DCHECK_NE(authenticator_->state(), Authenticator::PROCESSING_MESSAGE);
598 if (authenticator_->state() == Authenticator::MESSAGE_READY) {
604 DCHECK_NE(authenticator_->state(), Authenticator::MESSAGE_READY);
621 if (authenticator_->state() == Authenticator::ACCEPTED) {
623 } else if (authenticator_->state() == Authenticator::REJECTED) {