diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-13 06:28:49 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-13 06:28:49 +0000 |
commit | bc407e962efd421576e6dad7cefde22ef0439f38 (patch) | |
tree | 267bea43b45377b65f4128a73c1488f8165b8de7 /remoting/protocol/authenticator.h | |
parent | 76e68448d44901e32e2166cb53677f132b7f2bd6 (diff) | |
download | chromium_src-bc407e962efd421576e6dad7cefde22ef0439f38.zip chromium_src-bc407e962efd421576e6dad7cefde22ef0439f38.tar.gz chromium_src-bc407e962efd421576e6dad7cefde22ef0439f38.tar.bz2 |
Multi-step authentication support in JingleSession.
BUG=105214
Review URL: http://codereview.chromium.org/8774031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114187 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/authenticator.h')
-rw-r--r-- | remoting/protocol/authenticator.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/remoting/protocol/authenticator.h b/remoting/protocol/authenticator.h index 0f382ed..b79fe78 100644 --- a/remoting/protocol/authenticator.h +++ b/remoting/protocol/authenticator.h @@ -53,6 +53,17 @@ class Authenticator { REJECTED, }; + // Returns true if |message| is an Authenticator message. + static bool IsAuthenticatorMessage(const buzz::XmlElement* message); + + // Creates an empty Authenticator message, owned by the caller. + static buzz::XmlElement* CreateEmptyAuthenticatorMessage(); + + // Finds Authenticator message among child elements of |message|, or + // returns NULL otherwise. + static const buzz::XmlElement* FindAuthenticatorMessage( + const buzz::XmlElement* message); + Authenticator() {} virtual ~Authenticator() {} |