static void soup_auth_domain_digest_class_init (SoupAuthDomainDigestClass *digest_class) { SoupAuthDomainClass *auth_domain_class = SOUP_AUTH_DOMAIN_CLASS (digest_class); GObjectClass *object_class = G_OBJECT_CLASS (digest_class); g_type_class_add_private (digest_class, sizeof (SoupAuthDomainDigestPrivate)); auth_domain_class->accepts = accepts; auth_domain_class->challenge = challenge; auth_domain_class->check_password = check_password; object_class->finalize = finalize; object_class->set_property = set_property; object_class->get_property = get_property; /** * SOUP_AUTH_DOMAIN_DIGEST_AUTH_CALLBACK: * * Alias for the #SoupAuthDomainDigest:auth-callback property. * (The #SoupAuthDomainDigestAuthCallback.) **/ g_object_class_install_property ( object_class, PROP_AUTH_CALLBACK, g_param_spec_pointer (SOUP_AUTH_DOMAIN_DIGEST_AUTH_CALLBACK, "Authentication callback", "Password-finding callback", G_PARAM_READWRITE)); /** * SOUP_AUTH_DOMAIN_DIGEST_AUTH_DATA: * * Alias for the #SoupAuthDomainDigest:auth-callback property. * (The #SoupAuthDomainDigestAuthCallback.) **/ g_object_class_install_property ( object_class, PROP_AUTH_DATA, g_param_spec_pointer (SOUP_AUTH_DOMAIN_DIGEST_AUTH_DATA, "Authentication callback data", "Data to pass to authentication callback", G_PARAM_READWRITE)); }
static void soup_auth_domain_basic_class_init (SoupAuthDomainBasicClass *basic_class) { SoupAuthDomainClass *auth_domain_class = SOUP_AUTH_DOMAIN_CLASS (basic_class); GObjectClass *object_class = G_OBJECT_CLASS (basic_class); g_type_class_add_private (basic_class, sizeof (SoupAuthDomainBasicPrivate)); auth_domain_class->accepts = soup_auth_domain_basic_accepts; auth_domain_class->challenge = soup_auth_domain_basic_challenge; auth_domain_class->check_password = soup_auth_domain_basic_check_password; object_class->finalize = soup_auth_domain_basic_finalize; object_class->set_property = soup_auth_domain_basic_set_property; object_class->get_property = soup_auth_domain_basic_get_property; /** * SOUP_AUTH_DOMAIN_BASIC_AUTH_CALLBACK: * * Alias for the #SoupAuthDomainBasic:auth-callback property. * (The #SoupAuthDomainBasicAuthCallback.) **/ g_object_class_install_property ( object_class, PROP_AUTH_CALLBACK, g_param_spec_pointer (SOUP_AUTH_DOMAIN_BASIC_AUTH_CALLBACK, "Authentication callback", "Password-checking callback", G_PARAM_READWRITE)); /** * SOUP_AUTH_DOMAIN_BASIC_AUTH_DATA: * * Alias for the #SoupAuthDomainBasic:auth-data property. * (The data to pass to the #SoupAuthDomainBasicAuthCallback.) **/ g_object_class_install_property ( object_class, PROP_AUTH_DATA, g_param_spec_pointer (SOUP_AUTH_DOMAIN_BASIC_AUTH_DATA, "Authentication callback data", "Data to pass to authentication callback", G_PARAM_READWRITE)); }