1//
2// HTTPCredentialsTest.h
3//
4// Definition of the HTTPCredentialsTest class.
5//
6// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
7// and Contributors.
8//
9// SPDX-License-Identifier: BSL-1.0
10//
11
12
13#ifndef HTTPCredentialsTest_INCLUDED
14#define HTTPCredentialsTest_INCLUDED
15
16
17#include "Poco/Net/Net.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class HTTPCredentialsTest: public CppUnit::TestCase
22{
23public:
24 HTTPCredentialsTest(const std::string& name);
25 ~HTTPCredentialsTest();
26
27 void testBasicCredentials();
28 void testProxyBasicCredentials();
29 void testBadCredentials();
30 void testAuthenticationParams();
31 void testAuthenticationParamsMultipleHeaders();
32 void testDigestCredentials();
33 void testDigestCredentialsQoP();
34 void testCredentialsBasic();
35 void testProxyCredentialsBasic();
36 void testCredentialsDigest();
37 void testCredentialsDigestMultipleHeaders();
38 void testProxyCredentialsDigest();
39 void testExtractCredentials();
40 void testVerifyAuthInfo();
41 void testVerifyAuthInfoQoP();
42
43 void setUp();
44 void tearDown();
45
46 static CppUnit::Test* suite();
47
48private:
49};
50
51
52#endif // HTTPCredentialsTest_INCLUDED
53