Declaration [src]

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 callbacks 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.


callback SoupAuthDomainDigestAuthCallback

The callback.

user_data gpointer

Data to pass to auth_callback.

dnotify GDestroyNotify

Destroy notifier to free user_data when domain is destroyed.