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:
Gabble branch to fix the bug:
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?
Merged, will be in Gabble 0.13.7.