Generic entitlement interface
11 min
Introduction
The generic entitlement allows you to connect your entitlement service to Purple.
When choosing to use this interface, Purple simply provides the interface, but the development work to connect to it needs to be done by the customer/other party.
It offers two basic authentication models:
- Username / Password
- OAuth 2.0 with OpenID
There are sample implementations available for both models:
API Specifications
Username / Password
For username / password entitlements there are four main operations to implement in your backend service:
OAuth 2.0 with OpenID
For the OAuth 2.0 with OpenID entitlement you need an OAuth 2.0 / OpenID authentication server, e.g. Keycloak, and a server for with an endpoint to provide the user entitlements, like the username / password entitlement does.