[webkit-gtk] Authentication Scheme API

Denis Nomiyama d.nomiyama at samsung.com
Thu Nov 14 06:57:34 PST 2013

Hello WebKitGtk+, 

I am working on an API to enable authentication schemes [1] as initially suggested in the mailing list [2].
The idea is to provide an API to enable authentication schemes like NTLM, which is not enabled by default, and the API should be generic enough to be extended to other schemes that will potentially be supported by libsoup in the future [3].

gboolean            webkit_web_context_get_authentication_scheme_enabled
                                                        (WebKitWebContext *context,
                                                         WebKitAuthenticationScheme scheme);

void                webkit_web_context_set_authentication_scheme_enabled
                                                        (WebKitWebContext *context,
                                                         WebKitAuthenticationScheme scheme,
                                                         gboolean enabled);
I used WebKitAuthenticationScheme from WebKitAuthenticationRequest to identify the scheme but I think a new enum will be needed because for instance libsoup currently expects only basic, digest and NTLM.
The names are still provisory, so please comments and feedback are welcome.


[1] https://bugs.webkit.org/show_bug.cgi?id=122952
[2] https://lists.webkit.org/pipermail/webkit-gtk/2013-October/001614.html
[3] https://lists.webkit.org/pipermail/webkit-gtk/2013-October/001615.html

More information about the webkit-gtk mailing list