set_generic_auth_callback


Description:

public void set_generic_auth_callback (owned AuthDomainGenericAuthCallback auth_callback)

Sets auth_callback as an authentication-handling callback for this.

Whenever a request comes in to this 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:

this

a AuthDomain

auth_callback

the auth callback

auth_data

data to pass to auth_callback

dnotify

destroy notifier to free auth_data when this is destroyed




2022 vala-language.org