Interface IAvPresentationRequestBuilder
- Namespace
- Tessio.Verifier.OpenId4Vp
- Assembly
- Tessio.Verifier.OpenId4Vp.dll
Builds an EU Age Verification authorization request: DCQL in plain query parameters, no JAR.
public interface IAvPresentationRequestBuilder
Remarks
Separate from IPresentationRequestBuilder because that interface is a frozen contract (contracts-v0) returning PresentationRequest, which cannot represent a request that has no request object. See AvPresentationRequest.
Synchronous in substance, but returns a Task<TResult> to match IPresentationRequestBuilder. A caller should be able to swap one seam for the other without restructuring, and a profile that later needs a remote key must not force a signature change on every consumer.
Methods
BuildAsync(PresentationRequestOptions, CancellationToken)
Builds an unsigned, plain-parameter presentation request from the supplied options.
Task<AvPresentationRequest> BuildAsync(PresentationRequestOptions options, CancellationToken ct = default)
Parameters
optionsPresentationRequestOptionsPer-request inputs. ResponseMode must be DirectPost, and ClientMetadataJson should be null: this profile encrypts nothing and identifies the verifier by its response URI.
ctCancellationTokenCancellation token.