Back

Volo.Abp.AspNetCore.Authentication.OpenIdConnect

How to Install

There are three ways to install Volo.Abp.AspNetCore.Authentication.OpenIdConnect NuGet package to your project:

1: Installing with the ABP CLI

If you haven't installed the ABP CLI, first install by executing the following command in a command-line terminal:

 dotnet tool install -g Volo.Abp.Cli

Once you have installed the ABP CLI, open a command-line terminal in the location of the project (.csproj file) you want to install it and execute the following command:

 abp add-package Volo.Abp.AspNetCore.Authentication.OpenIdConnect

It will add the Volo.Abp.AspNetCore.Authentication.OpenIdConnect package reference to your project and the AbpAspNetCoreAuthenticationOpenIdConnectModule dependency to your module class.

2: Installing with the Dotnet CLI

Add Volo.Abp.AspNetCore.Authentication.OpenIdConnect NuGet package reference to your project using your IDE or executing the following command:

 dotnet add package Volo.Abp.AspNetCore.Authentication.OpenIdConnect

Then add the AbpAspNetCoreAuthenticationOpenIdConnectModule dependency to your module class as shown in the following example:

 using Volo.Abp.AspNetCore.Authentication.OpenIdConnect; 

[DependsOn(typeOf(AbpAspNetCoreAuthenticationOpenIdConnectModule ))]
public class {YourModule} : AbpModule
{
}

3: Installing with the Package Manager Console

Open the Package Manager Console in Visual Studio (Tools -> Nuget Package Manager -> Package Manager Console) and execute the following command:

 Install-Package Volo.Abp.AspNetCore.Authentication.OpenIdConnect

Then add the AbpAspNetCoreAuthenticationOpenIdConnectModule dependency to your module class as shown in the following example:

 using Volo.Abp.AspNetCore.Authentication.OpenIdConnect; 

[DependsOn(typeOf(AbpAspNetCoreAuthenticationOpenIdConnectModule ))]
public class {YourModule} : AbpModule
{
}