]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (C) 1996-2025 The Squid Software Foundation and contributors | |
3 | * | |
4 | * Squid software is distributed under GPLv2+ license and includes | |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
7 | */ | |
8 | ||
9 | #ifndef SQUID_SRC_AUTH_TYPE_H | |
10 | #define SQUID_SRC_AUTH_TYPE_H | |
11 | ||
12 | #if USE_AUTH | |
13 | ||
14 | namespace Auth | |
15 | { | |
16 | ||
17 | typedef enum { | |
18 | AUTH_UNKNOWN, /* default */ | |
19 | AUTH_BASIC, | |
20 | AUTH_NTLM, | |
21 | AUTH_DIGEST, | |
22 | AUTH_NEGOTIATE, | |
23 | AUTH_BROKEN /* known type, but broken data */ | |
24 | } Type; | |
25 | ||
26 | extern const char *Type_str[]; | |
27 | ||
28 | }; // namespace Auth | |
29 | ||
30 | #endif /* USE_AUTH */ | |
31 | #endif /* SQUID_SRC_AUTH_TYPE_H */ | |
32 |