ASP.NET Core Client Library for the PolicyServer2 Runtime API
$ dotnet add package PolicyServer2.Runtime.Client.AspNetCoreThis package is used to evaluate policies for the ASP.NET Core clients.
Version 2.1.0 replaces using the HttpClient constructor directly with using an IHttpClientFactory for better scalability.
Version 2.1.1 suppresses the warning CA2252: Opt in to preview features before using them that is output due to preview features AuthorizationPolicyProvider in .NET . PolicyServer client code does not use the preview classes.