Method

SoupAuthDomainset_generic_auth_callback

Declaration [src]

void
soup_auth_domain_set_generic_auth_callback (
  SoupAuthDomain* domain,
  SoupAuthDomainGenericAuthCallback auth_callback,
  gpointer auth_data,
  GDestroyNotify dnotify
)

Description [src]

Sets auth_callback as an authentication-handling callback for domain.

Whenever a request comes in to domain which cannot be authenticated via a domain-specific auth callback (eg, AuthDomainDigestAuthCallback), the generic auth callback will be invoked. See AuthDomainGenericAuthCallback for information on what the callback should do.

Parameters

auth_callback SoupAuthDomainGenericAuthCallback
 

The auth callback.

auth_data gpointer
 

Data to pass to auth_callback.

dnotify GDestroyNotify
 

Destroy notifier to free auth_data when domain is destroyed.