Class DcApiPresentationRequest
- Namespace
- Tessio.Verifier.OpenId4Vp
- Assembly
- Tessio.Verifier.OpenId4Vp.dll
One OpenID4VP request for the Digital Credentials API: the Protocol and DataJson
a page passes as one entry of navigator.credentials.get({ digital: { requests: [...] } }), with what the
verifier checks the response against. A host that stores requests stores all of it.
public sealed record DcApiPresentationRequest : IEquatable<DcApiPresentationRequest>
- Inheritance
-
DcApiPresentationRequest
- Implements
- Inherited Members
Properties
DataJson
The request's data object as JSON: the request parameters themselves when unsigned, or
{"request": "<JWS>"} when signed.
public required string DataJson { get; init; }
Property Value
ExpectedOrigins
The origins of the pages that may make the request. The verifier refuses a response that came through any
other. A signed request also carries them as expected_origins; an unsigned one carries them only here.
public required IReadOnlyList<string> ExpectedOrigins { get; init; }
Property Value
ExpiresAt
When the request stops being answerable. The verifier refuses a response after it.
public required DateTimeOffset ExpiresAt { get; init; }
Property Value
Nonce
The nonce the request carries, which verification of the response checks.
public required string Nonce { get; init; }
Property Value
Protocol
openid4vp-v1-unsigned or openid4vp-v1-signed.
public required string Protocol { get; init; }