SqrlForNet 0.8.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package SqrlForNet --version 0.8.1                
NuGet\Install-Package SqrlForNet -Version 0.8.1                
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="SqrlForNet" Version="0.8.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SqrlForNet --version 0.8.1                
#r "nuget: SqrlForNet, 0.8.1"                
#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 SqrlForNet as a Cake Addin
#addin nuget:?package=SqrlForNet&version=0.8.1

// Install SqrlForNet as a Cake Tool
#tool nuget:?package=SqrlForNet&version=0.8.1                

SQRL For .Net Standard

SQRL (Secure Quick Reliable Login) for the .Net Standard runtimes.

Secure Quick Reliable Login

Is a highly secure user privacy based authentication system that removes the need for users to have more than one password for a global identity https://www.grc.com/sqrl/sqrl.htm for more information of the protocol.

How to install

You can install this as a package by running the following: Package manager

Install-Package SqrlForNet

CLI

dotnet add package SqrlForNet

Or searching for it in with Nuget Manager within your project

Requirements

To use this package you will need a .Net Standard 2.0 app

For use with ASP.net you will need a .Net core 2.2 or later version

How to use

Once you have installed the package you can stard using the middleware with a little bit of setup.

In the StartUp.cs file (unless you moved this to another place) Add this line to the ConfigureServices method

services.AddAuthentication()
  .AddSqrl(options =>
  {
    options.UserExists = UserExists;
    options.UpdateUserId = UpdateUserId;
    options.GetUserVuk = GetUserVuk;
    options.UnlockUser = UnlockUser;
  });

You will also need to make sure you have this in the Configure method

app.UseAuthentication();

You will probably of noticed that the AddSqrl has options these are explained in the wiki.

Product 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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.5.0 409 11/24/2022
1.4.2 619 1/30/2020
1.4.1 524 12/12/2019
1.4.0 551 10/26/2019
1.3.1 486 10/19/2019
1.2.0 493 10/15/2019
1.1.0 484 10/12/2019
1.0.1 470 10/9/2019
1.0.0 483 10/8/2019
0.9.0.1 485 10/8/2019
0.8.1 487 10/7/2019
0.8.0 570 9/29/2019
0.6.0 601 9/28/2019
0.5.3 587 9/28/2019
0.5.2 639 9/28/2019
0.5.1 566 9/27/2019
0.5.0 486 9/27/2019
0.1.0 474 9/25/2019

0.8.1 - Fixed bug found by DEllner with iOS app expecting content type of application/x-www-form-urlencoded this is now sent
0.8.0 - Custom login pages now allow you to create your own styled login page
0.6.0 - Diagnostic pages now ready to use and work started on custom login pages
0.5.3 - Added response to diagnostics page
0.5.2 - Added a simple diagnostics page to help with diagnosing issues
0.5.1 - Fix for missing validation on RemoveUser Action
0.5.0 - Beta release added support for Enable, Disable and Remove
0.1.0 - Beta release awaiting feedback from SQRL developer groups