| 1 |
Test programs and libraries for OAuth |
| 2 |
------------------------------------- |
| 3 |
|
| 4 |
This folder contains tests for the client- and server-side OAuth |
| 5 |
implementations. Most tests are run end-to-end to test both simultaneously. The |
| 6 |
tests in t/001_server use a mock OAuth authorization server, implemented jointly |
| 7 |
by t/OAuth/Server.pm and t/oauth_server.py, to run the libpq Device |
| 8 |
Authorization flow. The tests in t/002_client exercise custom OAuth flows and |
| 9 |
don't need an authorization server. |
| 10 |
|
| 11 |
Tests in this folder require 'oauth' to be present in PG_TEST_EXTRA, since |
| 12 |
HTTPS servers listening on localhost with TCP/IP sockets will be started. A |
| 13 |
Python installation is required to run the mock authorization server. |