SecurePaymentConfirmationRequest Class

The data of the secure-payment-confirmation payment method (https://w3c.github.io/secure-payment-confirmation/#sctn-securepaymentconfirmationrequest-dictionary): the credentials of the relying party that can authenticate the payment, and what the transaction dialog shows. It is the PaymentMethodData.Data of a PaymentRequest.

public sealed class SecurePaymentConfirmationRequest

Constructors

NameDescription
SecurePaymentConfirmationRequest()

SecurePaymentConfirmationRequest()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public SecurePaymentConfirmationRequest()

No documentation is available.

Properties

NameDescription
BrowserBoundPubKeyCredParamsGets the algorithms allowed for the browser bound key, when one is created, or null (ES256, then RS256).
ChallengeGets the random challenge generated by the relying party, signed by the authenticator.
CredentialIdsGets the identifiers of the credentials that can authenticate the payment.
ExtensionsGets the Web Authentication extensions of the authentication (the payment extension is added by the user agent), or null.
InstrumentGets the payment instrument shown to the user and signed with the transaction.
LocaleGets the language tags of the locales that the caller accepts for the transaction dialog, or null.
PayeeNameGets the display name of the payee (e.g. the merchant), or null.
PayeeOriginGets the origin of the payee (an https: URL), or null.
PaymentEntitiesLogosGets the logos of the entities that facilitate the payment, in descending order of display priority, or null.
RpIdGets the relying party identifier of the credentials (a valid domain).
ShowOptOutGets whether the transaction dialog lets the user opt out of the process for the relying party, or null (false).
TimeoutGets the number of milliseconds before the authentication times out, or null.

BrowserBoundPubKeyCredParams

SecurePaymentConfirmation.cs

Gets the algorithms allowed for the browser bound key, when one is created, or null (ES256, then RS256).

public IReadOnlyList<PublicKeyCredentialParameters>? BrowserBoundPubKeyCredParams { get; init; }

Gets the random challenge generated by the relying party, signed by the authenticator.

public required ReadOnlyMemory<byte> Challenge { get; init; }

Gets the identifiers of the credentials that can authenticate the payment.

public required IReadOnlyList<ReadOnlyMemory<byte>> CredentialIds { get; init; }

Gets the Web Authentication extensions of the authentication (the payment extension is added by the user agent), or null.

public AuthenticationExtensionsClientInputs? Extensions { get; init; }

Gets the payment instrument shown to the user and signed with the transaction.

public required PaymentCredentialInstrument Instrument { get; init; }

Gets the language tags of the locales that the caller accepts for the transaction dialog, or null.

public IReadOnlyList<string>? Locale { get; init; }

Gets the display name of the payee (e.g. the merchant), or null.

public string? PayeeName { get; init; }

Gets the origin of the payee (an https: URL), or null.

public string? PayeeOrigin { get; init; }

PaymentEntitiesLogos

SecurePaymentConfirmation.cs

Gets the logos of the entities that facilitate the payment, in descending order of display priority, or null.

public IReadOnlyList<PaymentEntityLogo>? PaymentEntitiesLogos { get; init; }

Gets the relying party identifier of the credentials (a valid domain).

public required string RpId { get; init; }

Gets whether the transaction dialog lets the user opt out of the process for the relying party, or null (false).

public bool? ShowOptOut { get; init; }

Gets the number of milliseconds before the authentication times out, or null.

public uint? Timeout { get; init; }