digitalcredentials

package
v0.158.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package digitalcredentials provides the Chrome DevTools Protocol commands, types, and events for the DigitalCredentials domain.

This domain allows interacting with the Digital Credentials API for automation.

Generated by the pdlgen command.

Index

Constants

View Source
const (
	CommandSetVirtualWalletBehavior = "DigitalCredentials.setVirtualWalletBehavior"
)

Command names.

Variables

SetVirtualWalletBehavior sets the behavior of the virtual wallet for digital credential requests issued from this frame.

See: https://chromedevtools.github.io/devtools-protocol/tot/DigitalCredentials#method-setVirtualWalletBehavior

Functions

This section is empty.

Types

type SetVirtualWalletBehaviorParams

type SetVirtualWalletBehaviorParams struct {
	Action   VirtualWalletAction `json:"action"`                      // The action of the virtual wallet.
	Protocol string              `json:"protocol,omitempty,omitzero"` // The protocol identifier (e.g. "openid4vp"). Required when |action| is "respond", forbidden otherwise.
	Response jsonv2.Value        `json:"response,omitempty,omitzero"`
	FrameID  cdp.FrameID         `json:"frameId,omitempty,omitzero"` // The frame to scope the virtual wallet behavior to.
}

SetVirtualWalletBehaviorParams are the parameters of the command DigitalCredentials.setVirtualWalletBehavior.

type VirtualWalletAction

type VirtualWalletAction string

VirtualWalletAction the type of virtual wallet action.

See: https://chromedevtools.github.io/devtools-protocol/tot/DigitalCredentials#type-VirtualWalletAction

const (
	VirtualWalletActionRespond VirtualWalletAction = "respond"
	VirtualWalletActionDecline VirtualWalletAction = "decline"
	VirtualWalletActionWait    VirtualWalletAction = "wait"
	VirtualWalletActionClear   VirtualWalletAction = "clear"
)

VirtualWalletAction values.

func (VirtualWalletAction) String

func (t VirtualWalletAction) String() string

String returns the VirtualWalletAction as string value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL