]> git.koha-community.org Git - koha.git/commit
Bug 31378: Add authentication provider endpoints
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 30 Aug 2022 13:33:14 +0000 (10:33 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 8 Nov 2022 17:31:20 +0000 (14:31 -0300)
commitf97ba16e44ddea2535792898f9e749b358fc30a4
tree0052a45b1b29e8d1c0fc67c1443b0c96a3780b6d
parent58d66c35df0e26ed58b2ca446761490acf82bd25
Bug 31378: Add authentication provider endpoints

This patch adds routes for handling authentication providers to the REST
API.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/auth_providers.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Lukasz Koszyk <lukasz.koszyk@kit.edu>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
12 files changed:
Koha/Auth/Provider.pm
Koha/Auth/Provider/OAuth.pm [new file with mode: 0644]
Koha/Auth/Provider/OIDC.pm [new file with mode: 0644]
Koha/REST/V1/Auth/Provider/Domains.pm [new file with mode: 0644]
Koha/REST/V1/Auth/Providers.pm [new file with mode: 0644]
api/v1/swagger/definitions/auth_provider.yaml [new file with mode: 0644]
api/v1/swagger/definitions/auth_provider_domain.yaml [new file with mode: 0644]
api/v1/swagger/paths/auth.yaml
api/v1/swagger/paths/oauth.yaml
api/v1/swagger/paths/public_oauth.yaml
api/v1/swagger/swagger.yaml
t/db_dependent/Koha/Auth/Provider.t