Bug 31378: Rename Auth Provider to Identity Provider and add Client.t tests
[koha.git] / api / v1 / swagger / definitions / identity_provider.yaml
1 ---
2 type: object
3 properties:
4   identity_provider_id:
5     type: integer
6     description: Internally assigned authentication provider identifier
7     readOnly: true
8   code:
9     description: Authentication provider code
10     type: string
11   description:
12     description: User-oriented description for the provider
13     type: string
14   protocol:
15     description: Authentication protocol
16     type: string
17     enum:
18       - OAuth
19       - OIDC
20       - CAS (not implemented)
21       - LDAP (not implemented)
22   mapping:
23     description: Attribute mapping
24     type:
25       - object
26       - "null"
27   matchpoint:
28     description: Patron attribute that will be used to match
29     type: string
30     enum:
31       - email
32       - userid
33       - cardnumber
34   config:
35     description: Configuration
36     type: object
37   icon_url:
38     description: Icon url
39     type:
40      - string
41      - "null"
42   domains:
43     description: Configured domains for the authentication provider
44     type:
45       - array
46       - "null"
47 additionalProperties: false
48 required:
49   - config
50   - code
51   - protocol