summaryrefslogtreecommitdiff
path: root/libsoup/soup-auth.h
blob: 1ca06801e8c2bdbf2579afb8b3eb95feaf17947d (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
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * soup-auth.h: Authentication schemes
 *
 * Authors:
 *      Joe Shaw (joe@ximian.com)
 *
 * Copyright (C) 2001, Ximian, Inc.
 */

#ifndef SOUP_AUTH_H
#define SOUP_AUTH_H 1

#include "soup-context.h"
#include "soup-message.h"
#include "soup-private.h"

SoupAuth *soup_auth_new_from_header   (SoupContext *context, 
				       const char  *header);

void      soup_auth_free              (SoupAuth    *auth);

gchar    *soup_auth_authorize         (SoupAuth    *auth, 
				       SoupMessage *msg);

gboolean  soup_auth_invalidates_prior (SoupAuth    *new_auth, 
				       SoupAuth    *old_auth);

#endif /* SOUP_AUTH_H */