Table of Contents

Class TessioVerifierSandbox

Namespace
Tessio.Verifier.AspNetCore
Assembly
Tessio.Verifier.AspNetCore.dll

Sandbox completion for hosts that create sessions themselves (bypassing the built-in /start endpoint) but still want DEMO-style auto-completion. The /start endpoint enqueues into the background demo completer; a self-driving host never reaches that path, so its sessions would otherwise hang. This exposes the completion explicitly.

public sealed class TessioVerifierSandbox
Inheritance
TessioVerifierSandbox
Inherited Members

Remarks

For demos, samples and tests only: the result is synthesized from the configured requested claims, not verified against a real credential. Never use it on a Live deployment. Resolve it from DI after AddTessioVerifier(IServiceCollection, Action<VerifierOptions>).

Constructors

TessioVerifierSandbox(ISessionStore, IOptions<VerifierOptions>)

Creates the sandbox over the registered session store and options.

public TessioVerifierSandbox(ISessionStore store, IOptions<VerifierOptions> options)

Parameters

store ISessionStore
options IOptions<VerifierOptions>

Methods

CompleteWithDemoResultAsync(string, CancellationToken)

Completes sessionId immediately with a synthesized valid result built from RequestedClaims, independent of mode and without the background completer. Use this from your own creation flow where the built-in /start demo path is not in play.

public Task CompleteWithDemoResultAsync(string sessionId, CancellationToken ct = default)

Parameters

sessionId string
ct CancellationToken

Returns

Task