uwap.UsersPlugin 1.2.2.2

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

// Install uwap.UsersPlugin as a Cake Tool
#tool nuget:?package=uwap.UsersPlugin&version=1.2.2.2                

UsersPlugin

Plugin for WebFramework that adds a simple interface to register, log in and manage your account settings.

Website: https://uwap.org/projects/users-plugin

Changelog: https://uwap.org/changes/users-plugin

Main features

  • Registering as a user (with mail verification)
  • Logging in as a user (with 2FA)
  • Logging out, logging all other session out
  • Managing users (only as an administrator)
  • Setting your theme
  • Changing your username, email address and password
  • Managing your account's two-factor authentication
  • Scheduling your account for deletion
  • Account recovery (forgotten username or password)

Installation

You can add this plugin to your WF project by installing the NuGet package: uwap.UsersPlugin

You can also download the source code and reference it in your project file.

Once installed, add the following things to your program start code:

  • Add <code>using uwap.WebFramework.Plugins;</code> to the top, otherwise you have to prepend it to <code>UsersPlugin</code>
  • Create a new object of the plugin: <code>UsersPlugin usersPlugin = new();</code>
  • Map the plugin to a path of your choosing (like any/account): <code>PluginManager.Map("any/account", usersPlugin);</code>

You can do all that with a single line of code before starting the WF server:<br/><code>PluginManager.Map("any/account", new uwap.WebFramework.Plugins.UsersPlugin());</code>

If you map the plugin to a path that isn't <code>/account</code>, you need to change the following properties in <code>AccountManager.Settings</code> accordingly:<br /><code>TwoFactorPath = "/account/2fa"</code><br /><code>MailVerifyPath = "/account/verify"</code><br /><code>LoginAllowedPaths = new[] {"/account/logout"}</code><br /><code>LoginPath = "/account/login"</code>

Plans for the future

  • New theme settings (design+background+accent+font instead of fully preset themes)
  • Making the worker delete accounts that are past their date of scheduled deletion
  • More options for user management
  • Notification settings
Product 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.

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.3.1.4 118 5/26/2024
1.3.1.3 150 3/17/2024
1.3.1.2 142 3/4/2024
1.3.1.1 132 3/4/2024
1.3.1 145 3/3/2024
1.3.0 115 2/10/2024
1.2.3 184 11/18/2023
1.2.2.3 163 10/29/2023
1.2.2.2 145 9/25/2023
1.2.2.1 133 9/17/2023