added OAuth20Credentials class, some minor OAuth10Credentials fixes

This commit is contained in:
Guenter Obiltschnig
2014-11-11 12:10:53 +01:00
parent b0946115cf
commit fbcbf708aa
9 changed files with 402 additions and 14 deletions

View File

@@ -0,0 +1,44 @@
//
// OAuth20CredentialsTest.h
//
// $Id$
//
// Definition of the OAuth20CredentialsTest class.
//
// Copyright (c) 2014, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef OAuth20CredentialsTest_INCLUDED
#define OAuth20CredentialsTest_INCLUDED
#include "Poco/Net/Net.h"
#include "CppUnit/TestCase.h"
class OAuth20CredentialsTest: public CppUnit::TestCase
{
public:
OAuth20CredentialsTest(const std::string& name);
~OAuth20CredentialsTest();
void testAuthorize();
void testAuthorizeCustomScheme();
void testExtract();
void testExtractCustomScheme();
void testExtractNoCreds();
void setUp();
void tearDown();
static CppUnit::Test* suite();
private:
};
#endif // OAuth20CredentialsTest_INCLUDED