Class VerifierOptions
- Namespace
- Tessio.Verifier.AspNetCore
- Assembly
- Tessio.Verifier.AspNetCore.dll
Configuration for the Tessio verifier, supplied via AddTessioVerifier(IServiceCollection, Action<VerifierOptions>).
public sealed class VerifierOptions
- Inheritance
-
VerifierOptions
- Inherited Members
Properties
ClientId
Verifier identifier (OpenID4VP client_id). Per OpenID4VP 1.0 this may carry a
client-identifier-scheme prefix (e.g. x509_san_dns:verifier.example.com) in production.
public string ClientId { get; set; }
Property Value
CredentialFormat
Credential format to request and verify: dc+sd-jwt (default) or mso_mdoc
(ISO mobile documents, e.g. the mDL).
public string CredentialFormat { get; set; }
Property Value
DemoCompletionDelay
In Demo, how long to wait before auto-completing a session with a synthesized result. Default: 2 seconds. Set to Zero to complete immediately.
public TimeSpan DemoCompletionDelay { get; set; }
Property Value
ExpectedDocType
Expected mdoc document type when CredentialFormat is mso_mdoc.
Defaults to the mobile driving licence (org.iso.18013.5.1.mDL).
public string ExpectedDocType { get; set; }
Property Value
ExpectedVct
Optional expected credential type (SD-JWT VC vct) to constrain the DCQL query. When unset a
demo default is used.
public string? ExpectedVct { get; set; }
Property Value
MdocNamespace
Namespace for requested mdoc claims (DCQL paths are [namespace, element]).
Defaults to the mDL namespace.
public string MdocNamespace { get; set; }
Property Value
Mode
Operating mode. Defaults to Demo so a fresh install runs end-to-end without a wallet.
public VerifierMode Mode { get; set; }
Property Value
RequestedClaims
Claims to request via selective disclosure (the DCQL query is generated from these). Ask only for
what you need. When empty, the verifier requests age_over_18 so the demo always shows something.
public IList<string> RequestedClaims { get; set; }
Property Value
ResponseMode
OpenID4VP response delivery mode written into the generated request. Defaults to DirectPostJwt (the HAIP default).
public ResponseMode ResponseMode { get; set; }
Property Value
RoutePrefix
URL path prefix under which MapTessioVerifier(IEndpointRouteBuilder, string?)
mounts its endpoints. Default: /verify.
public string RoutePrefix { get; set; }
Property Value
SessionLifetime
How long a created session (and its request) remains valid. Default: 5 minutes.
public TimeSpan SessionLifetime { get; set; }
Property Value
TransactionData
Transaction data to bind into the presentation (OpenID4VP transaction_data): each entry is a
JSON object string with at least a type member; credential_ids defaults to the
query's credential id. The wallet acknowledges each entry with a hash in the KB-JWT, which is
verified. SD-JWT VC flows only.
public IList<string> TransactionData { get; set; }