Gabble always adds X-TELEPATHY-PASSWORD auth mechanism but not all services supports that. For example messenger.live.com can only auth via an access-token. Wocky branch to add needed API: http://cgit.collabora.com/git/user/xclaesse/wocky.git/log/?h=auth Gabble branch to fix the bug: http://cgit.collabora.com/git/user/xclaesse/telepathy-gabble.git/log/?h=auth
I don't like the name of the method: it's singular, but the argument is plural. How about wocky_auth_registry_supports_one_of()? (Which I don't like much either.) And can we have a gtk-doc comment? And the method implementation is wrong. I can see other password-based authentication mechanisms that Wocky supports; SCRAM-SHA-1, for starters. I think you probably want to be using some of the logic from wocky_auth_registry_select_handler() and/or wocky_auth_registry_start_auth_async_func(). Can you describe in the Gabble commit message why this is needed?
branches updated
Merged, will be in Gabble 0.13.7.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.