AspireForm.Plugin.Auth.Common 0.1.0

dotnet add package AspireForm.Plugin.Auth.Common --version 0.1.0
                    
NuGet\Install-Package AspireForm.Plugin.Auth.Common -Version 0.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="AspireForm.Plugin.Auth.Common" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AspireForm.Plugin.Auth.Common" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="AspireForm.Plugin.Auth.Common" />
                    
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 AspireForm.Plugin.Auth.Common --version 0.1.0
                    
#r "nuget: AspireForm.Plugin.Auth.Common, 0.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 AspireForm.Plugin.Auth.Common@0.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=AspireForm.Plugin.Auth.Common&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=AspireForm.Plugin.Auth.Common&version=0.1.0
                    
Install as a Cake Tool

AspireForm.Plugin.Auth.Common

Shared substrate library for the AspireForm auth plugin family (ApiKey, MagicLink, Entra).

Purpose

This is not an AspireForm plugin itself — it is a regular net10.0 class library that the three auth plugin implementations reference as a transitive dependency. It exports common helpers and naming conventions so the auth plugins remain consistent.

Contents

AuthScaffold

Static helper for generating scaffold content.

  • RenderRegistrationComment(string variant, string projectName) — returns a multi-line comment block describing where and how to wire AddAuthentication / UseAuthentication for the given auth variant.

AuthMarkerNames

Static helper for aspireform marker-region naming conventions.

  • Marker(string variant) — returns the marker block name for the given auth variant (e.g. "apikey""auth-apikey").

Versioning

Version Notes
0.1.0 Initial release — thin substrate with AuthScaffold and AuthMarkerNames.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.
  • net10.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on AspireForm.Plugin.Auth.Common:

Package Downloads
AspireForm.Plugin.Auth.MagicLink

AspireForm plugin: passwordless magic-link auth Module — scaffolds setup helper + AppHost wiring comment.

AspireForm.Plugin.Auth.ApiKey

AspireForm plugin: API-key authentication Module — scaffolds setup helper + AppHost wiring comment.

AspireForm.Plugin.Auth.Entra

AspireForm plugin: Microsoft Entra External ID OIDC auth Module.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 117 5/24/2026