From the course: ASP.NET Core Identity: Authorization Management

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

ASP.NET Core authorization types

ASP.NET Core authorization types - ASP.NET Core Tutorial

From the course: ASP.NET Core Identity: Authorization Management

Start my 1-month free trial

ASP.NET Core authorization types

- [Instructor] ASP.NET Core offers different authorization types. One of them is the simple authorization, which used to check if a user is authenticated or not. Another authorization type is the role-based authorization, and we use this authorization type when we want to check if an authenticated user belongs to a role to more than one. Claims-based authorization is another authorization type which is used to check if the authenticated users have a certain claim value, and if you want to check if the user passes a certain policy, then we can use the policy-based authorization. Another authorization type that .NET Core offers is the resource-based authorization, and we use this authorization type when we want to check if an authenticated user has access to a certain resource. The last authorization type is the view-based authorization, and we use the view-based authorization when we want to write authorization-related checks in our views. We are going to see in the upcoming chapters…

Contents