Differences From Artifact [cf4b0ef3fa]:
- File src/XMPPAuthenticator.h — part of check-in [2f8a95152e] at 2011-03-29 01:46:20 on branch trunk — Port to ObjC 1. (user: js, size: 2996) [annotate] [blame] [check-ins using]
To Artifact [e029c909bb]:
- File
src/XMPPAuthenticator.h
— part of check-in
[0aab2fde67]
at
2011-09-18 19:33:19
on branch trunk
— Fix XMPPAuthenticator to support non-optimized message flow
While RFC6120 allows and encourages sending data with the success
message it is also legal to send the same data as a challenge and
await an empty response. This rework honors that fact. (user: florob@babelmonkeys.de, size: 2833) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
64 65 66 67 68 69 70 | - initWithAuthzid: (OFString*)authzid authcid: (OFString*)authcid password: (OFString*)password; /** * \return A OFDataAray containing the initial authentication message */ | | | < < < | < < < < | | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | - initWithAuthzid: (OFString*)authzid authcid: (OFString*)authcid password: (OFString*)password; /** * \return A OFDataAray containing the initial authentication message */ - (OFDataArray*)initialMessage; /** * \param data The continuation data send by the server * \return The appropriate response if the data was a challenge, nil otherwise */ - (OFDataArray*)continueWithData: (OFDataArray*)data; - (void)setAuthzid: (OFString*)authzid; - (OFString*)authzid; - (void)setAuthcid: (OFString*)authcid; - (OFString*)authcid; - (void)setPassword: (OFString*)password; - (OFString*)password; |
︙ | ︙ |