GithubHelp home page GithubHelp logo

marcus-arcadius / sqrl-for-dot-net-standard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from techliam/sqrl-for-dot-net-standard

0.0 0.0 0.0 301 KB

SQRL 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 protocal.

License: MIT License

Smalltalk 6.56% C# 93.44%

sqrl-for-dot-net-standard's Introduction

QR CodeQR CodeSlack logo

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;
    options.LockUser = LockUser;
    options.GetUserSuk = GetUserSuk;
    options.RemoveUser = RemoveUser;
  });

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.

Contact for help

Slack: https://sqrlfornet.slack.com/

Join the workspace here: https://join.slack.com/t/sqrlfornet/shared_invite/enQtNzkwNTcxNDM2MjMwLTIxODYwZDZlMTJkNGFkMjBlY2ZjNDBlMDA0ZjExYjA1ZTQ2ZGRmYjY3MzdlZDlmY2U0NTdlNjFlMGI0OWNiOWQ

Road map

Version Goals Status
0.1.0 Simple login Released
0.5.0 lock/unlock/remove SQRL users Released
0.6.0 Diagnostics page for debugging Released
0.8.0 Custom login pages override middleware Released
0.9.0 Examples of NUT storage and management Released
1.0.0 Add options for SqrlOnly and Hardlock Released
1.1.0 Add Ask capability Released
1.2.0
  • Add async hooks for cleaner database operations
  • Add logging
Released
1.3.0 Change to how hooks work and added HTTPContext access to all hooks Released
1.4.0 Imporve the QR code for high resolution devices Developing

sqrl-for-dot-net-standard's People

Contributors

dbadouge avatar josegomez avatar techliam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.