Enforcer AuthZen Interop Test Site
This site is used to test the interoperability of the AuthZen authorization protocol and Rock Solid Knowledges Enforcer ABAC PDP. A simple call to UseEnforcerAuthZen to register the middleware in the pipeline is all that is required to enable the AuthZen protocol.
builder.Services .AddEnforcer("authzen.interop.main", o => { o.Licensee = ""; o.LicenseKey =""; }) .AddEmbeddedPolicyStore("Rsk.Enforcer.AuthZenDemoSite.Policies") .AddPolicyEnforcementPoint(o =>o.Bias = PepBias.Deny) }); var app = builder.Build(); app.UseEnforcerAuthZen(); app.Run();