Class TessioVerifierServiceCollectionExtensions
- Namespace
- Tessio.Verifier.AspNetCore
- Assembly
- Tessio.Verifier.AspNetCore.dll
Registration entry point for the Tessio verifier.
public static class TessioVerifierServiceCollectionExtensions
- Inheritance
-
TessioVerifierServiceCollectionExtensions
- Inherited Members
Methods
AddTessioVerifier(IServiceCollection, Action<VerifierOptions>)
Registers the Tessio verifier: the session store, the credential verification pipeline (SdJwtVcVerifier + WalletResponseParser), and the DEMO / MOCK mode engines. Pair with MapTessioVerifier(IEndpointRouteBuilder, string?) to expose the endpoints.
public static IServiceCollection AddTessioVerifier(this IServiceCollection services, Action<VerifierOptions> configure)
Parameters
servicesIServiceCollectionThe service collection.
configureAction<VerifierOptions>Configures VerifierOptions (mode, requested claims, …).
Returns
Remarks
All services are registered with TryAdd: register your own
ITrustListResolver, ISessionStore, or
IPresentationRequestBuilder before calling this method to replace a default.
A replacement session store must implement IStateCorrelatingSessionStore for the
wallet callback endpoint to correlate responses. The default trust list contains only the
built-in demo and mock issuers. See docs/going-live.md for the full live-mode setup.