Plugin.Maui.Spine.Server.Authentication 0.1.37

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

Plugin.Maui.Spine.Server.Authentication

Sign-in on the server for Spine apps. The platform's own sign-in sheet hands the app an ID token. The server checks it against the provider's keys, issuer, audience and nonce, then issues the app's own short-lived ES256 access token and a rotating refresh token. Email and password come with verification codes, lockout and reset. Deleting an account revokes Apple's tokens. It runs on ASP.NET Core and in an Azure Functions isolated worker.

dotnet add package Plugin.Maui.Spine.Server.Authentication
builder.Services.AddSingleton<ISpineAuthEmailSender, MyEmailSender>();
builder.Services.AddSpineAuthentication(a =>
{
    a.Issuer = "https://api.example.com";
    a.SigningKey = builder.Configuration["Auth:SigningKey"];   // EC P-256, PKCS#8 PEM
    a.Apple(o => o.BundleIds.Add("se.example.app"));
    a.Google(o => o.ClientIds.Add("….apps.googleusercontent.com"));
    a.EmailPassword();
    a.UseAzureTableStore(builder.Configuration["Storage"]);   // or UseInMemoryStore(); UseUsers(...) for your own users
});

app.UseAuthentication();
app.MapSpineAuthentication("/auth");   // nonce, {provider}/token, token, revoke, account, password/{action}, jwks
app.MapGet("/orders", (ClaimsPrincipal user) => …).RequireAuthorization();
  • A refresh token works once. Presenting it again revokes that sign-in on every device.
  • o.UserId = request => request.GetSpineUserIdAsync() in AddSpinePushNotifications tags a device user:<id> from the token, never from the body.

Documentation

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.

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
0.1.37 47 10/30/2026
0.1.36 96 10/27/2026
0.1.35 80 10/27/2026
0.1.34 79 10/27/2026
0.1.33 83 10/27/2026
0.1.32 83 10/27/2026
0.1.31 87 10/27/2026
0.1.30 83 10/27/2026
0.1.29 94 10/26/2026
0.1.28 86 10/26/2026
0.1.27 98 10/26/2026
0.1.26 95 10/24/2026
0.1.25 91 10/24/2026
0.1.24 99 10/23/2026
0.1.23 88 10/23/2026
0.1.22 95 10/23/2026
0.1.21 87 10/23/2026
0.1.20 96 10/23/2026
0.1.19 120 10/22/2026
0.1.18 94 10/21/2026
Loading failed