|
Lines 134-140
Link Here
|
| 134 |
operationId: listAuthProviders |
134 |
operationId: listAuthProviders |
| 135 |
tags: |
135 |
tags: |
| 136 |
- auth_providers |
136 |
- auth_providers |
| 137 |
summary: List configured authentication providers |
137 |
summary: List configured identity providers |
| 138 |
parameters: |
138 |
parameters: |
| 139 |
- $ref: ../swagger.yaml#/parameters/match |
139 |
- $ref: ../swagger.yaml#/parameters/match |
| 140 |
- $ref: ../swagger.yaml#/parameters/order_by |
140 |
- $ref: ../swagger.yaml#/parameters/order_by |
|
Lines 158-164
Link Here
|
| 158 |
- application/json |
158 |
- application/json |
| 159 |
responses: |
159 |
responses: |
| 160 |
"200": |
160 |
"200": |
| 161 |
description: A list of authentication providers |
161 |
description: A list of identity providers |
| 162 |
schema: |
162 |
schema: |
| 163 |
type: array |
163 |
type: array |
| 164 |
items: |
164 |
items: |
|
Lines 190-196
Link Here
|
| 190 |
operationId: addAuthProvider |
190 |
operationId: addAuthProvider |
| 191 |
tags: |
191 |
tags: |
| 192 |
- auth_providers |
192 |
- auth_providers |
| 193 |
summary: Add a new authentication provider |
193 |
summary: Add a new identity provider |
| 194 |
parameters: |
194 |
parameters: |
| 195 |
- name: body |
195 |
- name: body |
| 196 |
in: body |
196 |
in: body |
|
Lines 222-228
Link Here
|
| 222 |
- application/json |
222 |
- application/json |
| 223 |
responses: |
223 |
responses: |
| 224 |
"201": |
224 |
"201": |
| 225 |
description: The generated authentication provider |
225 |
description: The generated identity provider |
| 226 |
schema: |
226 |
schema: |
| 227 |
$ref: ../swagger.yaml#/definitions/auth_provider |
227 |
$ref: ../swagger.yaml#/definitions/auth_provider |
| 228 |
"400": |
228 |
"400": |
|
Lines 253-259
Link Here
|
| 253 |
operationId: getAuthProvider |
253 |
operationId: getAuthProvider |
| 254 |
tags: |
254 |
tags: |
| 255 |
- auth_providers |
255 |
- auth_providers |
| 256 |
summary: Get authentication provider |
256 |
summary: Get identity provider |
| 257 |
parameters: |
257 |
parameters: |
| 258 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
258 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
| 259 |
- name: x-koha-embed |
259 |
- name: x-koha-embed |
|
Lines 270-276
Link Here
|
| 270 |
- application/json |
270 |
- application/json |
| 271 |
responses: |
271 |
responses: |
| 272 |
"200": |
272 |
"200": |
| 273 |
description: An authentication provider |
273 |
description: An identity provider |
| 274 |
schema: |
274 |
schema: |
| 275 |
$ref: ../swagger.yaml#/definitions/auth_provider |
275 |
$ref: ../swagger.yaml#/definitions/auth_provider |
| 276 |
"404": |
276 |
"404": |
|
Lines 296-302
Link Here
|
| 296 |
operationId: updateAuthProvider |
296 |
operationId: updateAuthProvider |
| 297 |
tags: |
297 |
tags: |
| 298 |
- auth_providers |
298 |
- auth_providers |
| 299 |
summary: Update an authentication provider |
299 |
summary: Update an identity provider |
| 300 |
parameters: |
300 |
parameters: |
| 301 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
301 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
| 302 |
- name: body |
302 |
- name: body |
|
Lines 329-335
Link Here
|
| 329 |
- application/json |
329 |
- application/json |
| 330 |
responses: |
330 |
responses: |
| 331 |
"200": |
331 |
"200": |
| 332 |
description: Updated authentication provider |
332 |
description: Updated identity provider |
| 333 |
schema: |
333 |
schema: |
| 334 |
$ref: ../swagger.yaml#/definitions/auth_provider |
334 |
$ref: ../swagger.yaml#/definitions/auth_provider |
| 335 |
"400": |
335 |
"400": |
|
Lines 363-376
Link Here
|
| 363 |
operationId: delAuthProvider |
363 |
operationId: delAuthProvider |
| 364 |
tags: |
364 |
tags: |
| 365 |
- auth_providers |
365 |
- auth_providers |
| 366 |
summary: Delete authentication provider |
366 |
summary: Delete identity provider |
| 367 |
parameters: |
367 |
parameters: |
| 368 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
368 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
| 369 |
produces: |
369 |
produces: |
| 370 |
- application/json |
370 |
- application/json |
| 371 |
responses: |
371 |
responses: |
| 372 |
"204": |
372 |
"204": |
| 373 |
description: Authentication provider deleted |
373 |
description: identity provider deleted |
| 374 |
"401": |
374 |
"401": |
| 375 |
description: Authentication required |
375 |
description: Authentication required |
| 376 |
schema: |
376 |
schema: |
|
Lines 401-407
Link Here
|
| 401 |
operationId: listAuthProviderDomains |
401 |
operationId: listAuthProviderDomains |
| 402 |
tags: |
402 |
tags: |
| 403 |
- auth_providers |
403 |
- auth_providers |
| 404 |
summary: Get authentication provider configured domains |
404 |
summary: Get identity provider configured domains |
| 405 |
parameters: |
405 |
parameters: |
| 406 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
406 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
| 407 |
- $ref: ../swagger.yaml#/parameters/match |
407 |
- $ref: ../swagger.yaml#/parameters/match |
|
Lines 426-432
Link Here
|
| 426 |
- application/json |
426 |
- application/json |
| 427 |
responses: |
427 |
responses: |
| 428 |
"200": |
428 |
"200": |
| 429 |
description: An authentication provider |
429 |
description: An identity provider |
| 430 |
schema: |
430 |
schema: |
| 431 |
items: |
431 |
items: |
| 432 |
$ref: ../swagger.yaml#/definitions/auth_provider_domain |
432 |
$ref: ../swagger.yaml#/definitions/auth_provider_domain |
|
Lines 453-464
Link Here
|
| 453 |
operationId: addAuthProviderDomain |
453 |
operationId: addAuthProviderDomain |
| 454 |
tags: |
454 |
tags: |
| 455 |
- auth_providers |
455 |
- auth_providers |
| 456 |
summary: Add an authentication provider domain |
456 |
summary: Add an identity provider domain |
| 457 |
parameters: |
457 |
parameters: |
| 458 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
458 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
| 459 |
- name: body |
459 |
- name: body |
| 460 |
in: body |
460 |
in: body |
| 461 |
description: An authentication provider domain object |
461 |
description: An identity provider domain object |
| 462 |
required: true |
462 |
required: true |
| 463 |
schema: |
463 |
schema: |
| 464 |
$ref: ../swagger.yaml#/definitions/auth_provider_domain |
464 |
$ref: ../swagger.yaml#/definitions/auth_provider_domain |
|
Lines 466-472
Link Here
|
| 466 |
- application/json |
466 |
- application/json |
| 467 |
responses: |
467 |
responses: |
| 468 |
"201": |
468 |
"201": |
| 469 |
description: Updated authentication provider domain |
469 |
description: Updated identity provider domain |
| 470 |
schema: |
470 |
schema: |
| 471 |
$ref: ../swagger.yaml#/definitions/auth_provider_domain |
471 |
$ref: ../swagger.yaml#/definitions/auth_provider_domain |
| 472 |
"400": |
472 |
"400": |
|
Lines 501-507
Link Here
|
| 501 |
operationId: getAuthProviderDomain |
501 |
operationId: getAuthProviderDomain |
| 502 |
tags: |
502 |
tags: |
| 503 |
- auth_providers |
503 |
- auth_providers |
| 504 |
summary: Get authentication provider domain |
504 |
summary: Get identity provider domain |
| 505 |
parameters: |
505 |
parameters: |
| 506 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
506 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
| 507 |
- $ref: ../swagger.yaml#/parameters/auth_provider_domain_id_pp |
507 |
- $ref: ../swagger.yaml#/parameters/auth_provider_domain_id_pp |
|
Lines 509-515
Link Here
|
| 509 |
- application/json |
509 |
- application/json |
| 510 |
responses: |
510 |
responses: |
| 511 |
"200": |
511 |
"200": |
| 512 |
description: An authentication provider |
512 |
description: An identity provider |
| 513 |
schema: |
513 |
schema: |
| 514 |
$ref: ../swagger.yaml#/definitions/auth_provider_domain |
514 |
$ref: ../swagger.yaml#/definitions/auth_provider_domain |
| 515 |
"404": |
515 |
"404": |
|
Lines 535-541
Link Here
|
| 535 |
operationId: delAuthProviderDomain |
535 |
operationId: delAuthProviderDomain |
| 536 |
tags: |
536 |
tags: |
| 537 |
- auth_providers |
537 |
- auth_providers |
| 538 |
summary: Delete authentication provider |
538 |
summary: Delete identity provider |
| 539 |
parameters: |
539 |
parameters: |
| 540 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
540 |
- $ref: ../swagger.yaml#/parameters/auth_provider_id_pp |
| 541 |
- $ref: ../swagger.yaml#/parameters/auth_provider_domain_id_pp |
541 |
- $ref: ../swagger.yaml#/parameters/auth_provider_domain_id_pp |
|
Lines 543-549
Link Here
|
| 543 |
- application/json |
543 |
- application/json |
| 544 |
responses: |
544 |
responses: |
| 545 |
"204": |
545 |
"204": |
| 546 |
description: Authentication provider deleted |
546 |
description: identity provider deleted |
| 547 |
"401": |
547 |
"401": |
| 548 |
description: Authentication required |
548 |
description: Authentication required |
| 549 |
schema: |
549 |
schema: |
|
Lines 574-580
Link Here
|
| 574 |
operationId: listIdentityProviders |
574 |
operationId: listIdentityProviders |
| 575 |
tags: |
575 |
tags: |
| 576 |
- identity_providers |
576 |
- identity_providers |
| 577 |
summary: List configured authentication providers |
577 |
summary: List configured identity providers |
| 578 |
parameters: |
578 |
parameters: |
| 579 |
- $ref: ../swagger.yaml#/parameters/match |
579 |
- $ref: ../swagger.yaml#/parameters/match |
| 580 |
- $ref: ../swagger.yaml#/parameters/order_by |
580 |
- $ref: ../swagger.yaml#/parameters/order_by |
|
Lines 598-604
Link Here
|
| 598 |
- application/json |
598 |
- application/json |
| 599 |
responses: |
599 |
responses: |
| 600 |
"200": |
600 |
"200": |
| 601 |
description: A list of authentication providers |
601 |
description: A list of identity providers |
| 602 |
schema: |
602 |
schema: |
| 603 |
type: array |
603 |
type: array |
| 604 |
items: |
604 |
items: |
|
Lines 630-636
Link Here
|
| 630 |
operationId: addIdentityProvider |
630 |
operationId: addIdentityProvider |
| 631 |
tags: |
631 |
tags: |
| 632 |
- identity_providers |
632 |
- identity_providers |
| 633 |
summary: Add a new authentication provider |
633 |
summary: Add a new identity provider |
| 634 |
parameters: |
634 |
parameters: |
| 635 |
- name: body |
635 |
- name: body |
| 636 |
in: body |
636 |
in: body |
|
Lines 662-668
Link Here
|
| 662 |
- application/json |
662 |
- application/json |
| 663 |
responses: |
663 |
responses: |
| 664 |
"201": |
664 |
"201": |
| 665 |
description: The generated authentication provider |
665 |
description: The generated identity provider |
| 666 |
schema: |
666 |
schema: |
| 667 |
$ref: ../swagger.yaml#/definitions/identity_provider |
667 |
$ref: ../swagger.yaml#/definitions/identity_provider |
| 668 |
"400": |
668 |
"400": |
|
Lines 693-699
Link Here
|
| 693 |
operationId: getIdentityProvider |
693 |
operationId: getIdentityProvider |
| 694 |
tags: |
694 |
tags: |
| 695 |
- identity_providers |
695 |
- identity_providers |
| 696 |
summary: Get authentication provider |
696 |
summary: Get identity provider |
| 697 |
parameters: |
697 |
parameters: |
| 698 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
698 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
| 699 |
- name: x-koha-embed |
699 |
- name: x-koha-embed |
|
Lines 710-716
Link Here
|
| 710 |
- application/json |
710 |
- application/json |
| 711 |
responses: |
711 |
responses: |
| 712 |
"200": |
712 |
"200": |
| 713 |
description: An authentication provider |
713 |
description: An identity provider |
| 714 |
schema: |
714 |
schema: |
| 715 |
$ref: ../swagger.yaml#/definitions/identity_provider |
715 |
$ref: ../swagger.yaml#/definitions/identity_provider |
| 716 |
"404": |
716 |
"404": |
|
Lines 736-742
Link Here
|
| 736 |
operationId: updateIdentityProvider |
736 |
operationId: updateIdentityProvider |
| 737 |
tags: |
737 |
tags: |
| 738 |
- identity_providers |
738 |
- identity_providers |
| 739 |
summary: Update an authentication provider |
739 |
summary: Update an identity provider |
| 740 |
parameters: |
740 |
parameters: |
| 741 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
741 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
| 742 |
- name: body |
742 |
- name: body |
|
Lines 769-775
Link Here
|
| 769 |
- application/json |
769 |
- application/json |
| 770 |
responses: |
770 |
responses: |
| 771 |
"200": |
771 |
"200": |
| 772 |
description: Updated authentication provider |
772 |
description: Updated identity provider |
| 773 |
schema: |
773 |
schema: |
| 774 |
$ref: ../swagger.yaml#/definitions/identity_provider |
774 |
$ref: ../swagger.yaml#/definitions/identity_provider |
| 775 |
"400": |
775 |
"400": |
|
Lines 803-816
Link Here
|
| 803 |
operationId: delIdentityProvider |
803 |
operationId: delIdentityProvider |
| 804 |
tags: |
804 |
tags: |
| 805 |
- identity_providers |
805 |
- identity_providers |
| 806 |
summary: Delete authentication provider |
806 |
summary: Delete identity provider |
| 807 |
parameters: |
807 |
parameters: |
| 808 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
808 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
| 809 |
produces: |
809 |
produces: |
| 810 |
- application/json |
810 |
- application/json |
| 811 |
responses: |
811 |
responses: |
| 812 |
"204": |
812 |
"204": |
| 813 |
description: Authentication provider deleted |
813 |
description: identity provider deleted |
| 814 |
"401": |
814 |
"401": |
| 815 |
description: Authentication required |
815 |
description: Authentication required |
| 816 |
schema: |
816 |
schema: |
|
Lines 841-847
Link Here
|
| 841 |
operationId: listIdentityProviderDomains |
841 |
operationId: listIdentityProviderDomains |
| 842 |
tags: |
842 |
tags: |
| 843 |
- identity_providers |
843 |
- identity_providers |
| 844 |
summary: Get authentication provider configured domains |
844 |
summary: Get identity provider configured domains |
| 845 |
parameters: |
845 |
parameters: |
| 846 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
846 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
| 847 |
- $ref: ../swagger.yaml#/parameters/match |
847 |
- $ref: ../swagger.yaml#/parameters/match |
|
Lines 866-872
Link Here
|
| 866 |
- application/json |
866 |
- application/json |
| 867 |
responses: |
867 |
responses: |
| 868 |
"200": |
868 |
"200": |
| 869 |
description: An authentication provider |
869 |
description: An identity provider |
| 870 |
schema: |
870 |
schema: |
| 871 |
items: |
871 |
items: |
| 872 |
$ref: ../swagger.yaml#/definitions/identity_provider_domain |
872 |
$ref: ../swagger.yaml#/definitions/identity_provider_domain |
|
Lines 893-904
Link Here
|
| 893 |
operationId: addIdentityProviderDomain |
893 |
operationId: addIdentityProviderDomain |
| 894 |
tags: |
894 |
tags: |
| 895 |
- identity_providers |
895 |
- identity_providers |
| 896 |
summary: Add an authentication provider domain |
896 |
summary: Add an identity provider domain |
| 897 |
parameters: |
897 |
parameters: |
| 898 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
898 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
| 899 |
- name: body |
899 |
- name: body |
| 900 |
in: body |
900 |
in: body |
| 901 |
description: An authentication provider domain object |
901 |
description: An identity provider domain object |
| 902 |
required: true |
902 |
required: true |
| 903 |
schema: |
903 |
schema: |
| 904 |
$ref: ../swagger.yaml#/definitions/identity_provider_domain |
904 |
$ref: ../swagger.yaml#/definitions/identity_provider_domain |
|
Lines 906-912
Link Here
|
| 906 |
- application/json |
906 |
- application/json |
| 907 |
responses: |
907 |
responses: |
| 908 |
"201": |
908 |
"201": |
| 909 |
description: Updated authentication provider domain |
909 |
description: Updated identity provider domain |
| 910 |
schema: |
910 |
schema: |
| 911 |
$ref: ../swagger.yaml#/definitions/identity_provider_domain |
911 |
$ref: ../swagger.yaml#/definitions/identity_provider_domain |
| 912 |
"400": |
912 |
"400": |
|
Lines 941-947
Link Here
|
| 941 |
operationId: getIdentityProviderDomain |
941 |
operationId: getIdentityProviderDomain |
| 942 |
tags: |
942 |
tags: |
| 943 |
- identity_providers |
943 |
- identity_providers |
| 944 |
summary: Get authentication provider domain |
944 |
summary: Get identity provider domain |
| 945 |
parameters: |
945 |
parameters: |
| 946 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
946 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
| 947 |
- $ref: ../swagger.yaml#/parameters/identity_provider_domain_id_pp |
947 |
- $ref: ../swagger.yaml#/parameters/identity_provider_domain_id_pp |
|
Lines 949-955
Link Here
|
| 949 |
- application/json |
949 |
- application/json |
| 950 |
responses: |
950 |
responses: |
| 951 |
"200": |
951 |
"200": |
| 952 |
description: An authentication provider |
952 |
description: An identity provider |
| 953 |
schema: |
953 |
schema: |
| 954 |
$ref: ../swagger.yaml#/definitions/identity_provider_domain |
954 |
$ref: ../swagger.yaml#/definitions/identity_provider_domain |
| 955 |
"404": |
955 |
"404": |
|
Lines 975-987
Link Here
|
| 975 |
operationId: updateIdentityProviderDomain |
975 |
operationId: updateIdentityProviderDomain |
| 976 |
tags: |
976 |
tags: |
| 977 |
- identity_providers |
977 |
- identity_providers |
| 978 |
summary: Update an authentication provider domain |
978 |
summary: Update an identity provider domain |
| 979 |
parameters: |
979 |
parameters: |
| 980 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
980 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
| 981 |
- $ref: ../swagger.yaml#/parameters/identity_provider_domain_id_pp |
981 |
- $ref: ../swagger.yaml#/parameters/identity_provider_domain_id_pp |
| 982 |
- name: body |
982 |
- name: body |
| 983 |
in: body |
983 |
in: body |
| 984 |
description: An authentication provider domain object |
984 |
description: An identity provider domain object |
| 985 |
required: true |
985 |
required: true |
| 986 |
schema: |
986 |
schema: |
| 987 |
$ref: ../swagger.yaml#/definitions/identity_provider_domain |
987 |
$ref: ../swagger.yaml#/definitions/identity_provider_domain |
|
Lines 989-995
Link Here
|
| 989 |
- application/json |
989 |
- application/json |
| 990 |
responses: |
990 |
responses: |
| 991 |
"200": |
991 |
"200": |
| 992 |
description: Updated authentication provider domain |
992 |
description: Updated identity provider domain |
| 993 |
schema: |
993 |
schema: |
| 994 |
$ref: ../swagger.yaml#/definitions/identity_provider_domain |
994 |
$ref: ../swagger.yaml#/definitions/identity_provider_domain |
| 995 |
"400": |
995 |
"400": |
|
Lines 1023-1029
Link Here
|
| 1023 |
operationId: delIdentityProviderDomain |
1023 |
operationId: delIdentityProviderDomain |
| 1024 |
tags: |
1024 |
tags: |
| 1025 |
- identity_providers |
1025 |
- identity_providers |
| 1026 |
summary: Delete authentication provider |
1026 |
summary: Delete identity provider |
| 1027 |
parameters: |
1027 |
parameters: |
| 1028 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
1028 |
- $ref: ../swagger.yaml#/parameters/identity_provider_id_pp |
| 1029 |
- $ref: ../swagger.yaml#/parameters/identity_provider_domain_id_pp |
1029 |
- $ref: ../swagger.yaml#/parameters/identity_provider_domain_id_pp |
|
Lines 1031-1037
Link Here
|
| 1031 |
- application/json |
1031 |
- application/json |
| 1032 |
responses: |
1032 |
responses: |
| 1033 |
"204": |
1033 |
"204": |
| 1034 |
description: Authentication provider deleted |
1034 |
description: identity provider deleted |
| 1035 |
"401": |
1035 |
"401": |
| 1036 |
description: Authentication required |
1036 |
description: Authentication required |
| 1037 |
schema: |
1037 |
schema: |