CC50099: Content updated (#5514)

* CC50099: Content updated

Hello, @rick-anderson,

This proposed file change comes from this Community Contribution: https://github.com/aspnet/Docs.fr-fr/pull/55/files.

Please, help to check this proposed file change into the article and help to merge if you agree with fix. If not, please, let me know either if you would like me to fix it in another way within this PR, if you prefer to fix it in another PR or if I should close this PR as by-design. In case of using another PR, please, let me know of your PR number, so we can confirm and close this PR.

Many thanks in advance.

* Minor tweaks
pull/5511/merge
Caro Caserio 2018-02-20 12:30:35 -03:00 committed by Scott Addie
parent fe5a497f57
commit bcba2cc3b9
1 changed files with 5 additions and 3 deletions

View File

@ -18,10 +18,12 @@ Authorization refers to the process that determines what a user is able to do. F
Authorization is orthogonal and independent from authentication, which is the process of ascertaining who a user is. Authentication may create one or more identities for the current user.
## Authorization Types
## Authorization types
ASP.NET Core authorization provides a simple declarative [role](roles.md) and a [rich policy based](policies.md) model. Authorization is expressed in requirements, and handlers evaluate a user's claims against requirements. Imperative checks can be based on simple policies or policies which evaluate both the user identity and properties of the resource that the user is attempting to access.
ASP.NET Core authorization provides a simple, declarative [role](roles.md) and a rich [policy-based](policies.md) model. Authorization is expressed in requirements, and handlers evaluate a user's claims against requirements. Imperative checks can be based on simple policies or policies which evaluate both the user identity and properties of the resource that the user is attempting to access.
## Namespaces
Authorization components, including the `AuthorizeAttribute` and `AllowAnonymousAttribute` attributes are found in the `Microsoft.AspNetCore.Authorization` namespace.
Authorization components, including the `AuthorizeAttribute` and `AllowAnonymousAttribute` attributes, are found in the `Microsoft.AspNetCore.Authorization` namespace.
Consult the documentation on [simple authorization](xref:security/authorization/simple).