Koha/api/v1/swagger/definitions/identity_provider.yaml
Agustin Moyano 016105cf8c
Bug 31378: Rename Auth Provider to Identity Provider and add Client.t tests
Signed-off-by: Lukasz Koszyk <lukasz.koszyk@kit.edu>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
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>
2022-11-08 14:39:51 -03:00

51 lines
1 KiB
YAML

---
type: object
properties:
identity_provider_id:
type: integer
description: Internally assigned authentication provider identifier
readOnly: true
code:
description: Authentication provider code
type: string
description:
description: User-oriented description for the provider
type: string
protocol:
description: Authentication protocol
type: string
enum:
- OAuth
- OIDC
- CAS (not implemented)
- LDAP (not implemented)
mapping:
description: Attribute mapping
type:
- object
- "null"
matchpoint:
description: Patron attribute that will be used to match
type: string
enum:
- email
- userid
- cardnumber
config:
description: Configuration
type: object
icon_url:
description: Icon url
type:
- string
- "null"
domains:
description: Configured domains for the authentication provider
type:
- array
- "null"
additionalProperties: false
required:
- config
- code
- protocol