WebAssembly.Authentication.Auth0
1.2.0
See the version list below for details.
dotnet add package WebAssembly.Authentication.Auth0 --version 1.2.0
NuGet\Install-Package WebAssembly.Authentication.Auth0 -Version 1.2.0
<PackageReference Include="WebAssembly.Authentication.Auth0" Version="1.2.0" />
paket add WebAssembly.Authentication.Auth0 --version 1.2.0
#r "nuget: WebAssembly.Authentication.Auth0, 1.2.0"
// Install WebAssembly.Authentication.Auth0 as a Cake Addin #addin nuget:?package=WebAssembly.Authentication.Auth0&version=1.2.0 // Install WebAssembly.Authentication.Auth0 as a Cake Tool #tool nuget:?package=WebAssembly.Authentication.Auth0&version=1.2.0
Usage
Define app.settings
{
"auth0": {
"Authority": "https://***.eu.auth0.com/",
"Audience": "***",
"ClientId": "***",
"ResponseType": "token id_token",
"DefaultScopes": "email"
}
}
Add the required services
Support for authenticating users is registered in the service container with the AddAuth0Authentication
extension method provided by the this package.
This method sets up the services required for the app to interact with the Identity Provider (IP).
builder.Services.AddAuth0Authentication(options =>
{
builder.Configuration.Bind("auth0", options.ProviderOptions);
});
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.AspNetCore.Components.WebAssembly.Authentication (>= 3.2.0 && < 4.0.0)
-
net6.0
- Microsoft.AspNetCore.Components.WebAssembly.Authentication (>= 6.0.0 && < 7.0.0)
-
net7.0
- Microsoft.AspNetCore.Components.WebAssembly.Authentication (>= 7.0.0 && < 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
# 1.2.0 (17 November 2022)
- #10 Update Blazor.WebAssembly.Authentication.Auth0.csproj to support .NET 7 [enhancement]
- #9 .NET 7.0 Support [enhancement]
The full release notes can be found here: https://github.com/StefH/Blazor.WebAssembly.Authentication.Auth0/blob/master/ReleaseNotes.md