blob: c17c921c448ad4c41124c264fdeb25fcfd99846f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2007 Red Hat, Inc.
*/
#pragma once
#include "soup-types.h"
#include "soup-auth.h"
G_BEGIN_DECLS
#define SOUP_TYPE_AUTH_MANAGER (soup_auth_manager_get_type ())
SOUP_AVAILABLE_IN_2_4
G_DECLARE_DERIVABLE_TYPE (SoupAuthManager, soup_auth_manager, SOUP, AUTH_MANAGER, GObject)
struct _SoupAuthManagerClass {
GObjectClass parent_class;
void (*authenticate) (SoupAuthManager *manager, SoupMessage *msg,
SoupAuth *auth, gboolean retrying);
gpointer padding[4];
};
SOUP_AVAILABLE_IN_2_4
void soup_auth_manager_use_auth (SoupAuthManager *manager,
SoupURI *uri,
SoupAuth *auth);
SOUP_AVAILABLE_IN_2_58
void soup_auth_manager_clear_cached_credentials (SoupAuthManager *manager);
G_END_DECLS
|