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 SecurePaymentConfirmationRequestConstructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| BrowserBoundPubKeyCredParams | Gets the algorithms allowed for the browser bound key, when one is created, or null (ES256, then RS256). |
| Challenge | Gets the random challenge generated by the relying party, signed by the authenticator. |
| CredentialIds | Gets the identifiers of the credentials that can authenticate the payment. |
| Extensions | Gets the Web Authentication extensions of the authentication (the payment extension is added by the user agent), or null. |
| Instrument | Gets the payment instrument shown to the user and signed with the transaction. |
| Locale | Gets the language tags of the locales that the caller accepts for the transaction dialog, or null. |
| PayeeName | Gets the display name of the payee (e.g. the merchant), or null. |
| PayeeOrigin | Gets the origin of the payee (an https: URL), or null. |
| PaymentEntitiesLogos | Gets the logos of the entities that facilitate the payment, in descending order of display priority, or null. |
| RpId | Gets the relying party identifier of the credentials (a valid domain). |
| ShowOptOut | Gets whether the transaction dialog lets the user opt out of the process for the relying party, or null (false). |
| Timeout | Gets the number of milliseconds before the authentication times out, or null. |
BrowserBoundPubKeyCredParams
SecurePaymentConfirmation.csGets the algorithms allowed for the browser bound key, when one is created, or null (ES256, then RS256).
public IReadOnlyList<PublicKeyCredentialParameters>? BrowserBoundPubKeyCredParams { get; init; }Challenge
SecurePaymentConfirmation.csGets the random challenge generated by the relying party, signed by the authenticator.
public required ReadOnlyMemory<byte> Challenge { get; init; }CredentialIds
SecurePaymentConfirmation.csGets the identifiers of the credentials that can authenticate the payment.
public required IReadOnlyList<ReadOnlyMemory<byte>> CredentialIds { get; init; }Extensions
SecurePaymentConfirmation.csGets the Web Authentication extensions of the authentication (the payment extension is added by the user agent), or null.
public AuthenticationExtensionsClientInputs? Extensions { get; init; }Instrument
SecurePaymentConfirmation.csGets 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; }PayeeName
SecurePaymentConfirmation.csGets the display name of the payee (e.g. the merchant), or null.
public string? PayeeName { get; init; }PayeeOrigin
SecurePaymentConfirmation.csGets the origin of the payee (an https: URL), or null.
public string? PayeeOrigin { get; init; }PaymentEntitiesLogos
SecurePaymentConfirmation.csGets 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; }ShowOptOut
SecurePaymentConfirmation.csGets whether the transaction dialog lets the user opt out of the process for the relying party, or null (false).
public bool? ShowOptOut { get; init; }Timeout
SecurePaymentConfirmation.csGets the number of milliseconds before the authentication times out, or null.
public uint? Timeout { get; init; }