AuthDomain.setGenericAuthCallback

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, #SoupAuthDomainDigestAuthCallback), the generic auth callback will be invoked. See #SoupAuthDomainGenericAuthCallback for information on what the callback should do.

class AuthDomain
void
setGenericAuthCallback

Parameters

authCallback SoupAuthDomainGenericAuthCallback

the auth callback

authData void*

data to pass to @auth_callback

dnotify GDestroyNotify

destroy notifier to free @auth_data when @domain is destroyed

Meta