Table of Contents

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

string

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

string

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

TimeSpan

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

string

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

string

MdocNamespace

Namespace for requested mdoc claims (DCQL paths are [namespace, element]). Defaults to the mDL namespace.

public string MdocNamespace { get; set; }

Property Value

string

Mode

Operating mode. Defaults to Demo so a fresh install runs end-to-end without a wallet.

public VerifierMode Mode { get; set; }

Property Value

VerifierMode

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

IList<string>

ResponseMode

OpenID4VP response delivery mode written into the generated request. Defaults to DirectPostJwt (the HAIP default).

public ResponseMode ResponseMode { get; set; }

Property Value

ResponseMode

RoutePrefix

URL path prefix under which MapTessioVerifier(IEndpointRouteBuilder, string?) mounts its endpoints. Default: /verify.

public string RoutePrefix { get; set; }

Property Value

string

SessionLifetime

How long a created session (and its request) remains valid. Default: 5 minutes.

public TimeSpan SessionLifetime { get; set; }

Property Value

TimeSpan

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; }

Property Value

IList<string>