keycloak-scim/topics/service/protection/protection-api.adoc

14 lines
692 B
Text
Raw Normal View History

== Protection API
2016-06-05 22:17:31 +00:00
The Protection API provides a UMA-compliant set of endpoints providing:
* *Resource Registration*
+
2016-07-26 21:34:49 +00:00
From this endpoint resource servers can manage their resources remotely and enable link::../../../../enforcer/overview.adoc[Policy Enforcers] to query the server for the resources that need protection.
* *Permission Registation*
+
2016-06-05 22:17:31 +00:00
When using UMA protocol, resource servers can access this endpoint to issue permission tickets.
2016-06-05 22:17:31 +00:00
An important requirement for this API is that _only_ resource servers are supposed to access its endpoints using a special OAuth2 access token called *Protection API Token* or *PAT*.
In UMA, a PAT is just a token with a scope *uma_protection*.