Luk164.AspNet.Authorization.KeyCloak
1.0.0
dotnet add package Luk164.AspNet.Authorization.KeyCloak --version 1.0.0
NuGet\Install-Package Luk164.AspNet.Authorization.KeyCloak -Version 1.0.0
<PackageReference Include="Luk164.AspNet.Authorization.KeyCloak" Version="1.0.0" />
paket add Luk164.AspNet.Authorization.KeyCloak --version 1.0.0
#r "nuget: Luk164.AspNet.Authorization.KeyCloak, 1.0.0"
// Install Luk164.AspNet.Authorization.KeyCloak as a Cake Addin
#addin nuget:?package=Luk164.AspNet.Authorization.KeyCloak&version=1.0.0
// Install Luk164.AspNet.Authorization.KeyCloak as a Cake Tool
#tool nuget:?package=Luk164.AspNet.Authorization.KeyCloak&version=1.0.0
**This is a modified fork of a Keycloak module from https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
AspNet.Security.OAuth.Providers
AspNet.Security.OAuth.Providers is a collection of security middleware that you can use in your ASP.NET Core application to support social authentication providers like GitHub, Foursquare or Dropbox. It is directly inspired by Jerrie Pelser's initiative, Owin.Security.Providers.
The latest official release can be found on NuGet and the nightly builds on MyGet.
Getting started
Adding social authentication to your application is a breeze and just requires a few lines in your Startup
class:
public void ConfigureServices(IServiceCollection services)
{
services.AddAuthentication(options => { /* Authentication options */ })
.AddGitHub(options =>
{
options.ClientId = "49e302895d8b09ea5656";
options.ClientSecret = "98f1bf028608901e9df91d64ee61536fe562064b";
});
}
public void Configure(IApplicationBuilder app)
{
app.UseAuthentication();
app.UseAuthorization();
}
See the /samples directory for a complete sample using ASP.NET Core MVC and supporting multiple social providers.
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 | 235 | 3/14/2022 |