Fhi.AuthControllers 1.0.1

dotnet add package Fhi.AuthControllers --version 1.0.1
NuGet\Install-Package Fhi.AuthControllers -Version 1.0.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="Fhi.AuthControllers" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fhi.AuthControllers --version 1.0.1
#r "nuget: Fhi.AuthControllers, 1.0.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 Fhi.AuthControllers as a Cake Addin
#addin nuget:?package=Fhi.AuthControllers&version=1.0.1

// Install Fhi.AuthControllers as a Cake Tool
#tool nuget:?package=Fhi.AuthControllers&version=1.0.1

Fhi.AuthControllers

This package contains an account controller with endpoints for account login and logout. It depends on the Fhi.HelseId package.

The intention of the package is to save the developer from writing code that is always the same. There is no need for any other initialization that adding the package to your project.

Installation

Just add the package to your project from Nuget.

Description

AccountController

The package adds a controller named AccountController with the following GET endpoints:

  • Login
  • Logout
  • Ping

The last Ping endpoint is used to check if the controller is installed.`

UserController

It also includes a UserController with a method User that displays information about the logged in user.

Default Html files

The package also adds four default pages, for Error, Forbidden, LoggedOut and StatusCode in the wwwroot folder.

Product Compatible and additional computed target framework versions.
.NET 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 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. 
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.0.1 1,595 11/24/2023
1.0.0 279 11/24/2023
1.0.0-beta.7 507 11/3/2023
1.0.0-beta.6 140 10/23/2023
1.0.0-beta.5 1,430 4/20/2023
1.0.0-beta.3 214 3/29/2023
1.0.0-beta.1 86 3/29/2023