Method
SoupAuthDomainDigestset_auth_callback
Declaration [src]
void
soup_auth_domain_digest_set_auth_callback (
SoupAuthDomain* domain,
SoupAuthDomainDigestAuthCallback callback,
gpointer user_data,
GDestroyNotify dnotify
)
Description [src]
Sets the callback that domain will use to authenticate incoming requests.
For each request containing authorization, domain 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
SoupAuthDomainDigest:auth-callback and
SoupAuthDomainDigest:auth-data properties, which can also be used to
set the callback at construct time.
| Sets property | Soup.AuthDomainDigest:auth-callback |
Parameters
callback |
SoupAuthDomainDigestAuthCallback |
The callback. |
|
user_data |
gpointer |
Data to pass to |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
dnotify |
GDestroyNotify |
Destroy notifier to free |