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