Class AvPresentationRequestBuilderOptions
- Namespace
- Tessio.Verifier.OpenId4Vp
- Assembly
- Tessio.Verifier.OpenId4Vp.dll
Construction-time options for AvPresentationRequestBuilder.
public sealed class AvPresentationRequestBuilderOptions
- Inheritance
-
AvPresentationRequestBuilderOptions
- Inherited Members
Remarks
Separate from PresentationRequestBuilderOptions, which requires
SigningCredentials. This profile has no signing key by design, so reusing that type would mean
either a fake credential or relaxing a requirement that correctly guards the JAR path.
Properties
AuthorizationEndpoint
Scheme and optional path the request parameters are appended to, as
{AuthorizationEndpoint}?{parameters}.
public string AuthorizationEndpoint { get; set; }
Property Value
Remarks
Defaults to av://, producing av://?response_type=....
This default is a choice between two shapes the specification uses, not something it states.
Annex A requires only that "at least a custom URL scheme av:// MUST be supported", and prints no
worked authorization deeplink: its authorization example is in abstract HTTP form as
GET /authorize?.... Elsewhere it uses av:// both ways, pathless for credential offers
(av://?credential_offer=...) and with a path for an issuance redirect
(Location: av://callback?code=...). Pathless is chosen because it is the form used for a
request the app receives rather than a redirect it registered.
Unconfirmed against the app. If it rejects the deeplink, set this to av://authorize
before suspecting anything else in the request.
Clock
Clock, for tests. Defaults to System.
public TimeProvider? Clock { get; set; }
Property Value
DefaultRequestLifetime
Lifetime applied when a request does not specify one.
public TimeSpan DefaultRequestLifetime { get; set; }