Albatross.Authentication.Windows 7.2.6

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This package has a SemVer 2.0.0 package version: 7.2.6+63b0907b.
dotnet add package Albatross.Authentication.Windows --version 7.2.6
NuGet\Install-Package Albatross.Authentication.Windows -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.Windows" 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.Windows --version 7.2.6
#r "nuget: Albatross.Authentication.Windows, 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.Windows as a Cake Addin
#addin nuget:?package=Albatross.Authentication.Windows&version=7.2.6

// Install Albatross.Authentication.Windows as a Cake Tool
#tool nuget:?package=Albatross.Authentication.Windows&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-windows7.0 is compatible.  net7.0-windows 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
7.2.6 34 5/17/2024