Stimpak.Auth 0.1.0-preview.1

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

Stimpak.Auth

Stimpak.Auth is the optional, in-process Battle.net authentication UI for Stimpak. The base package always emits AuthenticationRequired; install this package only when the application wants a native embedded WebView to answer it.

using Stimpak;
using Stimpak.Auth;

var authenticator = new EmbeddedAuthenticator();

await foreach (var next in client.ReadEventsAsync(stopping))
{
    if (next is AuthenticationRequired request)
        await client.CompleteAuthenticationAsync(request, authenticator, stopping);
}

Call CompleteAuthenticationAsync from the UI synchronization context. The native window is created on that thread, returns immediately, and is driven by the AppKit or Win32 event loop the host already owns. Closing the window calls CancelAuth; completing Battle.net calls SubmitAuth with the request id and session token.

The package launches no child process. A distributing application includes the native library inside its final app bundle or package and signs it together with the rest of its nested code.

The StimpakClient application id selects a cache below the current user's platform application-data directory. It only namespaces the cache; it is not a secret or an encryption key. On Unix, newly created directories and credential files use owner-only permissions. An explicit CredentialPath remains available for applications that need to own storage policy; Stimpak does not change the permissions of an existing caller-owned directory.

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.
  • net8.0

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.0-preview.1 75 8/23/2026