lvermeulen / Keycloak.Net

C# client for Keycloak 6.x
MIT License
203 stars 120 forks source link

Create client policy #65

Open svsk417 opened 2 years ago

svsk417 commented 2 years ago

The former implementation did only allow for Role Policies. This will do the trick for client policies as well. Please be aware that the former implementation did include a the PolicyConfig Config directly within the policy and therefore, as public class PolicyConfig contained [JsonProperty("roles")] was tied to Role policies. This was moved to RolePolicy and might have introduced a breaking change for a user expecting it to be part of a policy.