small text fixes to security-authentication-claims doc (#22846)

* small text fixes

* review fixes

* Add spacing

Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
pull/22847/head
damienbod 2021-07-25 22:14:11 +02:00 committed by GitHub
parent befdbbaa28
commit 81b1bd1752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -21,9 +21,9 @@ This article covers the following areas:
* Reset the claims namespaces
* Customize, extend the claims using <xref:Microsoft.AspNetCore.Authentication.IClaimsTransformation.TransformAsync%2A>
## Mapping claims using Open ID Connect authentication
## Mapping claims using OpenID Connect authentication
The profile claims can be returned in the `id_token` which is returned after a successful authentication. The ASP.NET Core client app just needs to request the profile scope. When using the `id_token` for claims, no extra claims mapping is required.
The profile claims can be returned in the `id_token`, which is returned after a successful authentication. The ASP.NET Core client app only requires the profile scope. When using the `id_token` for claims, no extra claims mapping is required.
```csharp
public void ConfigureServices(IServiceCollection services)
@ -104,7 +104,7 @@ public void ConfigureServices(IServiceCollection services)
## Claims namespaces, default namespaces
ASP.NET Core adds default namespaces to some known claims which might not be required in your app. You can disable this namespace adding if you would like to use the claims exactly like the Open ID Connect server created.
ASP.NET Core adds default namespaces to some known claims, which might not be required in the app. Optionally, disable these added namespaces and use the exact claims that the OpenID Connect server created.
```csharp
public void Configure(IApplicationBuilder app)