Index: remoting/protocol/authenticator.h |
diff --git a/remoting/protocol/authenticator.h b/remoting/protocol/authenticator.h |
index 5ed10d862bcd8f4349793921c04b9d5e91a483fc..07b8f65a853ba649ef742b3fde7f80bab8925f51 100644 |
--- a/remoting/protocol/authenticator.h |
+++ b/remoting/protocol/authenticator.h |
@@ -109,8 +109,13 @@ class Authenticator { |
// authentication message that needs to be sent to the peer. |
virtual scoped_ptr<buzz::XmlElement> GetNextMessage() = 0; |
+ // Returns the auth key received as result of the authentication handshake. |
+ virtual const std::string& GetAuthKey() const = 0; |
+ |
// Creates new authenticator for a channel. Can be called only in |
// the ACCEPTED state. |
+ // |
+ // TODO(sergeyu): Remove this method once migration to QUIC is finished. |
virtual scoped_ptr<ChannelAuthenticator> |
CreateChannelAuthenticator() const = 0; |
}; |