It derives from <SoupAuthDomain>.
Server-side "Basic" authentication.
AuthDomainBasic handles the server side of HTTP "Basic" (ie,
cleartext password) authentication.
The AuthDomainBasicAuthCallback.
Its value is a foreign pointer (or, to set it, a bytevector).
Set it with (set! (auth-domain-basic:auth-callback self) value).
The data to pass to the AuthDomainBasicAuthCallback.
Its value is a foreign pointer (or, to set it, a bytevector).
Set it with (set! (auth-domain-basic:auth-data self) value).
Sets the callback that self will use to authenticate incoming requests.
For each request containing authorization, self will invoke the callback, and then either accept or reject the request based on callback’s return value.
You can also set the auth callback by setting the
AuthDomainBasic:auth-callback and
AuthDomainBasic:auth-data properties, which can also be used to
set the callback at construct time.
Passed: a <SoupAuthDomainBasic>.
the domain
Passed: a procedure.
the callback
See
SoupAuthDomainBasicAuthCallback
for how it is called.
Not passed: guile-gi supplies it.
data to pass to auth-callback
Not passed: guile-gi supplies it.
destroy notifier to free user-data when self is destroyed
See GDestroyNotify for how it is
called.