Friday, June 29, 2018

How to Add Policy-Based Authorization to an ASP.NET Core App

Authorization in ASP.NET Core got more sophisticated with the recent introduction of policy-based authorization. Authorization in ASP.NET Core now uses requirements and handlers, which are decoupled from your controllers and loosely coupled to your data models. The result is a more modular, more testable authorization framework that fits into the modern ASP.NET Core approach. By the time you’re done with this tutorial, you’ll have the role-based authorization most ASP.NET devs are familiar with, but that’s only the tip of the iceberg! In this post, I’ll walk you through some of the impressive new features, and how you can combine them with Okta for robust, scalable authorization!

Just getting started with authentication in ASP.NET Core? Check out our quick start documentation!



from DZone.com Feed https://ift.tt/2yVpBFc

No comments:

Post a Comment