Add reference for ApiAuthorization nuget package (#18812)

pull/18813/head
Steven Belskie 2020-06-15 13:17:09 -04:00 committed by GitHub
parent ff6f0684fe
commit 94755487c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ The following sections describe additions to the project when authentication sup
### Startup class
The following code examples rely on the [Microsoft.AspNetCore.ApiAuthorization.IdentityServer](https://www.nuget.org/packages/Microsoft.AspNetCore.ApiAuthorization.IdentityServer) NuGet package. The examples configure API authentication and authorization using the <xref:Microsoft.Extensions.DependencyInjection.IdentityServerBuilderConfigurationExtensions.AddApiAuthorization%2A> and <xref:Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ApiResourceCollection.AddIdentityServerJwt%2A> extension methods. Projects using the React or Angular SPA project templates with authentication include a reference to this package.
The `Startup` class has the following additions:
* Inside the `Startup.ConfigureServices` method: