Stimpak.Auth
0.1.0-preview.1
dotnet add package Stimpak.Auth --version 0.1.0-preview.1
NuGet\Install-Package Stimpak.Auth -Version 0.1.0-preview.1
<PackageReference Include="Stimpak.Auth" Version="0.1.0-preview.1" />
<PackageVersion Include="Stimpak.Auth" Version="0.1.0-preview.1" />
<PackageReference Include="Stimpak.Auth" />
paket add Stimpak.Auth --version 0.1.0-preview.1
#r "nuget: Stimpak.Auth, 0.1.0-preview.1"
#:package Stimpak.Auth@0.1.0-preview.1
#addin nuget:?package=Stimpak.Auth&version=0.1.0-preview.1&prerelease
#tool nuget:?package=Stimpak.Auth&version=0.1.0-preview.1&prerelease
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 | Versions 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. |
-
net8.0
- Stimpak (>= 0.1.0-preview.1)
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 |