Home | History | Annotate | Download | only in protocol

Lines Matching refs:authenticator

15 #include "remoting/protocol/authenticator.h"
59 Authenticator::RejectionReason reason) {
61 case Authenticator::INVALID_CREDENTIALS:
63 case Authenticator::PROTOCOL_ERROR:
106 scoped_ptr<Authenticator> authenticator,
109 DCHECK(authenticator.get());
110 DCHECK_EQ(authenticator->state(), Authenticator::MESSAGE_READY);
113 authenticator_ = authenticator.Pass();
136 scoped_ptr<Authenticator> authenticator) {
139 DCHECK(authenticator.get());
140 DCHECK_EQ(authenticator->state(), Authenticator::WAITING_MESSAGE);
143 authenticator_ = authenticator.Pass();
163 DCHECK_EQ(authenticator_->state(), Authenticator::WAITING_MESSAGE);
171 DCHECK_NE(authenticator_->state(), Authenticator::PROCESSING_MESSAGE);
172 if (authenticator_->state() == Authenticator::REJECTED) {
183 if (authenticator_->state() == Authenticator::MESSAGE_READY)
194 if (authenticator_->state() == Authenticator::ACCEPTED) {
197 DCHECK_EQ(authenticator_->state(), Authenticator::WAITING_MESSAGE);
471 DCHECK(authenticator_->state() == Authenticator::WAITING_MESSAGE);
479 !Authenticator::IsAuthenticatorMessage(message.info.get())) {
485 authenticator_->state() != Authenticator::WAITING_MESSAGE) {
486 LOG(WARNING) << "Received unexpected authenticator message "
573 DCHECK_NE(authenticator_->state(), Authenticator::PROCESSING_MESSAGE);
582 if (authenticator_->state() == Authenticator::MESSAGE_READY) {
588 DCHECK_NE(authenticator_->state(), Authenticator::MESSAGE_READY);
605 if (authenticator_->state() == Authenticator::ACCEPTED) {
607 } else if (authenticator_->state() == Authenticator::REJECTED) {