AspNetCore.Authentication.eIDEasy.IDCard
1.0.0-alpha4
dotnet add package AspNetCore.Authentication.eIDEasy.IDCard --version 1.0.0-alpha4
NuGet\Install-Package AspNetCore.Authentication.eIDEasy.IDCard -Version 1.0.0-alpha4
<PackageReference Include="AspNetCore.Authentication.eIDEasy.IDCard" Version="1.0.0-alpha4" />
paket add AspNetCore.Authentication.eIDEasy.IDCard --version 1.0.0-alpha4
#r "nuget: AspNetCore.Authentication.eIDEasy.IDCard, 1.0.0-alpha4"
// Install AspNetCore.Authentication.eIDEasy.IDCard as a Cake Addin #addin nuget:?package=AspNetCore.Authentication.eIDEasy.IDCard&version=1.0.0-alpha4&prerelease // Install AspNetCore.Authentication.eIDEasy.IDCard as a Cake Tool #tool nuget:?package=AspNetCore.Authentication.eIDEasy.IDCard&version=1.0.0-alpha4&prerelease
AspNetCore.Authentication.eIDEasy.IDCard
AspNetCore.Authentication.eIDEasy.IDCard is an eIDEasy security middleware that you can use in your ASP.NET Core application to support eIDEasy embedded ID-card authentication.
eIDEasy provides several eID authentication methods like ID-card, Mobile-ID and Smart-ID. See more at their website eideasy.com.
Getting started
Register yourself at eideasy.com and configure your site there and take notes of Oauth client_id/secret, you will need them.
Add your client id and client secret to your configuration.
Add following lines to your Startup
class:
public void ConfigureServices(IServiceCollection services)
{
services.AddAuthentication()
.AddEIdEasyIdCard<ApplicationUser>(options =>
{
options.ClientId = Configuration["eIDEasy:ClientId"];
options.ClientSecret = Configuration["eIDEasy:ClientSecret"];
options.Country = "ee";
});
}
public void Configure(IApplicationBuilder app)
{
app.UseAuthentication();
app.UseAuthorization();
}
See the /sample directory for a complete sample using ASP.NET Core MVC.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0-alpha4 | 4,624 | 2/26/2021 |
1.0.0-alpha3 | 231 | 2/18/2021 |