Fhi.AuthControllers 9.1.0

dotnet add package Fhi.AuthControllers --version 9.1.0
                    
NuGet\Install-Package Fhi.AuthControllers -Version 9.1.0
                    
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="9.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fhi.AuthControllers" Version="9.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Fhi.AuthControllers" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fhi.AuthControllers --version 9.1.0
                    
#r "nuget: Fhi.AuthControllers, 9.1.0"
                    
#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.
#:package Fhi.AuthControllers@9.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fhi.AuthControllers&version=9.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Fhi.AuthControllers&version=9.1.0
                    
Install as a Cake Tool

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 net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
9.1.0 151 6/4/2025
9.0.0-beta1 149 6/2/2025
8.3.0 186 4/22/2025
8.2.0 183 4/2/2025
8.1.1 239 3/19/2025
8.1.0 732 2/17/2025
8.0.1 2,538 11/29/2024
8.0.0 437 11/19/2024
7.1.2 783 11/6/2024
7.1.1 174 11/1/2024
7.1.0 117 10/31/2024
7.0.1 678 10/23/2024
7.0.0 124 10/21/2024
6.3.0 238 10/11/2024
6.2.1 125 10/7/2024
6.2.0 242 9/27/2024
6.1.0 141 9/10/2024
6.0.0 543 8/7/2024
1.0.1 2,596 11/24/2023
1.0.0 324 11/24/2023