Albatross.Authentication.AspNetCore 7.2.6

Prefix Reserved
This package has a SemVer 2.0.0 package version: 7.2.6+91726c65.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Albatross.Authentication.AspNetCore --version 7.2.6                
NuGet\Install-Package Albatross.Authentication.AspNetCore -Version 7.2.6                
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="Albatross.Authentication.AspNetCore" Version="7.2.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Albatross.Authentication.AspNetCore --version 7.2.6                
#r "nuget: Albatross.Authentication.AspNetCore, 7.2.6"                
#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 Albatross.Authentication.AspNetCore as a Cake Addin
#addin nuget:?package=Albatross.Authentication.AspNetCore&version=7.2.6

// Install Albatross.Authentication.AspNetCore as a Cake Tool
#tool nuget:?package=Albatross.Authentication.AspNetCore&version=7.2.6                

The purpose of the Albatross.Authentication namespace is to return the name of the current user. The Albatross.Authentication assembly contains the IGetCurrentUser interface. It has seperate implementation assemblies such as Albatross.Authentication.AspNetCore and Albatross.Authentication.Windows. While the consumer of the ICurrentUser interface will only need to reference the Albatross.Authentication assembly, the actual implementation can be decided by the entry point application.

For example, if the entry point application is a Windows Forms application, the Albatross.Authentication.Windows assembly should be referenced. Albatross.Authentication.Windows.Extensions.RegisterWindowsAuthentication(services) should be called in the service registration code of the application. This will register the Windows implementation of IGetCurrentUser with the DI container.

If the entry point application is an ASP.NET Core application, the Albatross.Authentication.AspNetCore assembly should be referenced. Albatross.Authentication.AspNetCore.Extensions.RegisterAspNetCoreAuthentication(services) should be called in the service registration code of the application. This will register the AspNetCore implementation of IGetCurrentUser with the DI container.

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 (1)

Showing the top 1 NuGet packages that depend on Albatross.Authentication.AspNetCore:

Package Downloads
Albatross.Hosting

A library for creating .Net Web Api or Service applications with preconfigured settings

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.5.8 48 11/11/2024
7.5.6 40 11/8/2024
7.5.5 37 11/7/2024
7.5.4 27 11/7/2024
7.4.2 66 10/8/2024
7.2.6 38 5/17/2024