Skip to content

Commit a3c1e3a

Browse files
author
Tiago Brenck
committed
Removed typo quotes
1 parent b510803 commit a3c1e3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

5-WebApp-AuthZ/5-1-Roles/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public static IServiceCollection AddMicrosoftIdentityPlatformAuthentication(this
285285

286286
## About the code
287287

288-
1. In the `ConfigureServices` method of `Startup.cs'`, we added the following line to build the `ClaimsIdentity` object using the claims names in the token:
288+
1. In the `ConfigureServices` method of `Startup.cs`, we added the following line to build the `ClaimsIdentity` object using the claims names in the token:
289289

290290
```CSharp
291291
// This is required to be instantiated before the OpenIdConnectOptions starts getting configured.
@@ -295,7 +295,7 @@ public static IServiceCollection AddMicrosoftIdentityPlatformAuthentication(this
295295
JwtSecurityTokenHandler.DefaultMapInboundClaims = false;
296296
```
297297

298-
1. Still in the `ConfigureServices` method of `Startup.cs'`, we created the policies that wraps the authorization requirements in it. It is a good practice to wrap your authorization rules in policies, even if it is just one role, because policies are easily expandable, support unit tests, can have multiple requirements, can be code based and [more](https://docs.microsoft.com/en-us/aspnet/core/security/authorization/policies?view=aspnetcore-3.1):
298+
1. Still in the `ConfigureServices` method of `Startup.cs`, we created the policies that wraps the authorization requirements in it. It is a good practice to wrap your authorization rules in policies, even if it is just one role, because policies are easily expandable, support unit tests, can have multiple requirements, can be code based and [more](https://docs.microsoft.com/en-us/aspnet/core/security/authorization/policies?view=aspnetcore-3.1):
299299
300300
```CSharp
301301
services.AddAuthorization(options =>

0 commit comments

Comments
 (0)