do libstrophe support X-MESSENGER-OAUTH2 SASL mechanism ?
hi,
i am developing a chat client for connecting to msn. the problem is that msn allows only X-MESSENGER-OAUTH2 SASL mechanism authorization and in libstrophe ,(from what is have seen in the code) supports only plain and MD5. can u please tell how can i implement it ??
thanks in advance.. :)
i am developing a chat client for connecting to msn. the problem is that msn allows only X-MESSENGER-OAUTH2 SASL mechanism authorization and in libstrophe ,(from what is have seen in the code) supports only plain and MD5. can u please tell how can i implement it ??
You'll need to find the docs for that mechanism (and note that since it's OAuth2 you'll be needing to launch or prompt people to visit a web browser). Then to add a new mechanism to libstrophe, add code to auth.c for handling the new mechanism, and then change _auth() to select set up those handlers when that mechanism can be used. See: https://github.com/metajack/libstrophe/blob/master/src/auth.c#L454
For examples.
jack.