Passwordless.AspNetCore
0.0.11
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Passwordless.AspNetCore --version 0.0.11
NuGet\Install-Package Passwordless.AspNetCore -Version 0.0.11
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Passwordless.AspNetCore" Version="0.0.11" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Passwordless.AspNetCore --version 0.0.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Passwordless.AspNetCore, 0.0.11"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Passwordless.AspNetCore as a Cake Addin #addin nuget:?package=Passwordless.AspNetCore&version=0.0.11 // Install Passwordless.AspNetCore as a Cake Tool #tool nuget:?package=Passwordless.AspNetCore&version=0.0.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Passwordless.AspNetCore
Getting Started
dotnet add package Passwordless.AspNetCore
Usage
In Minimal APIs
var builder = WebApplication.CreateBuilder(args);
services.AddIdentity<MyUser, MyRole>()
.AddEntityFrameworkStores<MyDbContext>()
.AddPasswordless(Configuration.GetRequiredSection("Passwordless"));
var app = builder.Build();
app.MapPasswordless();
app.Run();
In MVC
// In Startup.cs
public void ConfigureServices(IServiceCollection services)
{
services.AddIdentity<MyUser, MyRole>()
.AddEntityFrameworkStores<MyDbContext>()
.AddPasswordless(Configuration.GetRequiredSection("Passwordless"));
services.AddControllers();
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();
app.UseEndpoints(endpoints =>
{
endpoints.MapPasswordless();
endpoints.MapControllers();
});
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- Passwordless (>= 0.0.11-beta1)
- Swashbuckle.AspNetCore.SwaggerGen (>= 6.5.0)
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 |
---|---|---|
2.1.0-beta.4 | 470 | 10/4/2024 |
2.1.0-beta.3 | 388 | 9/9/2024 |
2.1.0-beta.2 | 727 | 8/26/2024 |
2.1.0-beta.1 | 709 | 8/14/2024 |
2.0.0 | 189 | 8/13/2024 |
2.0.0-beta9 | 124 | 7/29/2024 |
2.0.0-beta8 | 3,041 | 4/11/2024 |
2.0.0-beta7 | 2,022 | 3/11/2024 |
2.0.0-beta6 | 261 | 2/16/2024 |
2.0.0-beta5 | 9,940 | 11/8/2023 |
2.0.0-beta4 | 116 | 10/27/2023 |
2.0.0-beta3 | 99 | 10/25/2023 |
2.0.0-beta2 | 132 | 10/4/2023 |
2.0.0-beta10 | 296 | 8/6/2024 |
2.0.0-beta1 | 1,273 | 9/29/2023 |
1.0.3 | 1,591 | 9/5/2023 |
1.0.2 | 150 | 9/4/2023 |
0.0.13 | 532 | 8/28/2023 |
0.0.12 | 162 | 8/8/2023 |
0.0.11 | 157 | 8/8/2023 |
0.0.0-ci-d5f30b6 | 93 | 5/21/2024 |