diff options
Diffstat (limited to 'Swiften/Client/ClientSession.h')
| -rw-r--r-- | Swiften/Client/ClientSession.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Swiften/Client/ClientSession.h b/Swiften/Client/ClientSession.h index 9bbc3f2..c4b6abe 100644 --- a/Swiften/Client/ClientSession.h +++ b/Swiften/Client/ClientSession.h | |||
| @@ -124,10 +124,22 @@ namespace Swift { | |||
| 124 | 124 | ||
| 125 | void setCertificateTrustChecker(CertificateTrustChecker* checker) { | 125 | void setCertificateTrustChecker(CertificateTrustChecker* checker) { |
| 126 | certificateTrustChecker = checker; | 126 | certificateTrustChecker = checker; |
| 127 | } | 127 | } |
| 128 | 128 | ||
| 129 | void setSingleSignOn(bool b) { | ||
| 130 | singleSignOn = b; | ||
| 131 | } | ||
| 132 | |||
| 133 | /** | ||
| 134 | * Sets the port number used in Kerberos authentication | ||
| 135 | * Does not affect network connectivity. | ||
| 136 | */ | ||
| 137 | void setAuthenticationPort(int i) { | ||
| 138 | authenticationPort = i; | ||
| 139 | } | ||
| 140 | |||
| 129 | public: | 141 | public: |
| 130 | boost::signal<void ()> onNeedCredentials; | 142 | boost::signal<void ()> onNeedCredentials; |
| 131 | boost::signal<void ()> onInitialized; | 143 | boost::signal<void ()> onInitialized; |
| 132 | boost::signal<void (boost::shared_ptr<Swift::Error>)> onFinished; | 144 | boost::signal<void (boost::shared_ptr<Swift::Error>)> onFinished; |
| 133 | boost::signal<void (boost::shared_ptr<Stanza>)> onStanzaReceived; | 145 | boost::signal<void (boost::shared_ptr<Stanza>)> onStanzaReceived; |
| @@ -181,7 +193,9 @@ namespace Swift { | |||
| 181 | ClientAuthenticator* authenticator; | 193 | ClientAuthenticator* authenticator; |
| 182 | boost::shared_ptr<StanzaAckRequester> stanzaAckRequester_; | 194 | boost::shared_ptr<StanzaAckRequester> stanzaAckRequester_; |
| 183 | boost::shared_ptr<StanzaAckResponder> stanzaAckResponder_; | 195 | boost::shared_ptr<StanzaAckResponder> stanzaAckResponder_; |
| 184 | boost::shared_ptr<Swift::Error> error_; | 196 | boost::shared_ptr<Swift::Error> error_; |
| 185 | CertificateTrustChecker* certificateTrustChecker; | 197 | CertificateTrustChecker* certificateTrustChecker; |
| 198 | bool singleSignOn; | ||
| 199 | int authenticationPort; | ||
| 186 | }; | 200 | }; |
| 187 | } | 201 | } |
Swift