package webauthn

Import Path
	github.com/chromedp/cdproto/webauthn (on go.dev)

Dependency Relation
	imports 7 packages, and imported by one package

Involved Source Files easyjson.go events.go types.go Package webauthn provides the Chrome DevTools Protocol commands, types, and events for the WebAuthn domain. This domain allows configuring virtual authenticators to test the WebAuthn API. Generated by the cdproto-gen command.
Package-Level Type Names (total 23)
/* sort by: | */
AddCredentialParams adds the credential to the specified authenticator. AuthenticatorID AuthenticatorID Credential *Credential Do executes WebAuthn.addCredential against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *AddCredentialParams : github.com/chromedp/chromedp.Action *AddCredentialParams : github.com/chromedp/chromedp.CallAction *AddCredentialParams : github.com/chromedp/chromedp.EmulateAction *AddCredentialParams : github.com/chromedp/chromedp.EvaluateAction *AddCredentialParams : github.com/chromedp/chromedp.KeyAction *AddCredentialParams : github.com/chromedp/chromedp.MouseAction *AddCredentialParams : github.com/chromedp/chromedp.NavigateAction *AddCredentialParams : github.com/chromedp/chromedp.PollAction *AddCredentialParams : github.com/chromedp/chromedp.QueryAction AddCredentialParams : github.com/goccy/go-json.Marshaler *AddCredentialParams : github.com/goccy/go-json.Unmarshaler AddCredentialParams : github.com/mailru/easyjson.Marshaler *AddCredentialParams : github.com/mailru/easyjson.MarshalerUnmarshaler *AddCredentialParams : github.com/mailru/easyjson.Unmarshaler AddCredentialParams : encoding/json.Marshaler *AddCredentialParams : encoding/json.Unmarshaler func AddCredential(authenticatorID AuthenticatorID, credential *Credential) *AddCredentialParams
AddVirtualAuthenticatorParams creates and adds a virtual authenticator. Options *VirtualAuthenticatorOptions Do executes WebAuthn.addVirtualAuthenticator against the provided context. returns: authenticatorID MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface AddVirtualAuthenticatorParams : github.com/goccy/go-json.Marshaler *AddVirtualAuthenticatorParams : github.com/goccy/go-json.Unmarshaler AddVirtualAuthenticatorParams : github.com/mailru/easyjson.Marshaler *AddVirtualAuthenticatorParams : github.com/mailru/easyjson.MarshalerUnmarshaler *AddVirtualAuthenticatorParams : github.com/mailru/easyjson.Unmarshaler AddVirtualAuthenticatorParams : encoding/json.Marshaler *AddVirtualAuthenticatorParams : encoding/json.Unmarshaler func AddVirtualAuthenticator(options *VirtualAuthenticatorOptions) *AddVirtualAuthenticatorParams
AddVirtualAuthenticatorReturns return values. AuthenticatorID AuthenticatorID MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface AddVirtualAuthenticatorReturns : github.com/goccy/go-json.Marshaler *AddVirtualAuthenticatorReturns : github.com/goccy/go-json.Unmarshaler AddVirtualAuthenticatorReturns : github.com/mailru/easyjson.Marshaler *AddVirtualAuthenticatorReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *AddVirtualAuthenticatorReturns : github.com/mailru/easyjson.Unmarshaler AddVirtualAuthenticatorReturns : encoding/json.Marshaler *AddVirtualAuthenticatorReturns : encoding/json.Unmarshaler
AuthenticatorID [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#type-AuthenticatorId String returns the AuthenticatorID as string value. AuthenticatorID : expvar.Var AuthenticatorID : fmt.Stringer func (*AddVirtualAuthenticatorParams).Do(ctx context.Context) (authenticatorID AuthenticatorID, err error) func AddCredential(authenticatorID AuthenticatorID, credential *Credential) *AddCredentialParams func ClearCredentials(authenticatorID AuthenticatorID) *ClearCredentialsParams func GetCredential(authenticatorID AuthenticatorID, credentialID string) *GetCredentialParams func GetCredentials(authenticatorID AuthenticatorID) *GetCredentialsParams func RemoveCredential(authenticatorID AuthenticatorID, credentialID string) *RemoveCredentialParams func RemoveVirtualAuthenticator(authenticatorID AuthenticatorID) *RemoveVirtualAuthenticatorParams func SetAutomaticPresenceSimulation(authenticatorID AuthenticatorID, enabled bool) *SetAutomaticPresenceSimulationParams func SetResponseOverrideBits(authenticatorID AuthenticatorID) *SetResponseOverrideBitsParams func SetUserVerified(authenticatorID AuthenticatorID, isUserVerified bool) *SetUserVerifiedParams
AuthenticatorProtocol [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#type-AuthenticatorProtocol MarshalEasyJSON satisfies easyjson.Marshaler. MarshalJSON satisfies json.Marshaler. String returns the AuthenticatorProtocol as string value. UnmarshalEasyJSON satisfies easyjson.Unmarshaler. UnmarshalJSON satisfies json.Unmarshaler. AuthenticatorProtocol : github.com/goccy/go-json.Marshaler *AuthenticatorProtocol : github.com/goccy/go-json.Unmarshaler AuthenticatorProtocol : github.com/mailru/easyjson.Marshaler *AuthenticatorProtocol : github.com/mailru/easyjson.MarshalerUnmarshaler *AuthenticatorProtocol : github.com/mailru/easyjson.Unmarshaler AuthenticatorProtocol : encoding/json.Marshaler *AuthenticatorProtocol : encoding/json.Unmarshaler AuthenticatorProtocol : expvar.Var AuthenticatorProtocol : fmt.Stringer const AuthenticatorProtocolCtap2 const AuthenticatorProtocolU2f
AuthenticatorTransport [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#type-AuthenticatorTransport MarshalEasyJSON satisfies easyjson.Marshaler. MarshalJSON satisfies json.Marshaler. String returns the AuthenticatorTransport as string value. UnmarshalEasyJSON satisfies easyjson.Unmarshaler. UnmarshalJSON satisfies json.Unmarshaler. AuthenticatorTransport : github.com/goccy/go-json.Marshaler *AuthenticatorTransport : github.com/goccy/go-json.Unmarshaler AuthenticatorTransport : github.com/mailru/easyjson.Marshaler *AuthenticatorTransport : github.com/mailru/easyjson.MarshalerUnmarshaler *AuthenticatorTransport : github.com/mailru/easyjson.Unmarshaler AuthenticatorTransport : encoding/json.Marshaler *AuthenticatorTransport : encoding/json.Unmarshaler AuthenticatorTransport : expvar.Var AuthenticatorTransport : fmt.Stringer const AuthenticatorTransportBle const AuthenticatorTransportCable const AuthenticatorTransportInternal const AuthenticatorTransportNfc const AuthenticatorTransportUsb
ClearCredentialsParams clears all the credentials from the specified device. AuthenticatorID AuthenticatorID Do executes WebAuthn.clearCredentials against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *ClearCredentialsParams : github.com/chromedp/chromedp.Action *ClearCredentialsParams : github.com/chromedp/chromedp.CallAction *ClearCredentialsParams : github.com/chromedp/chromedp.EmulateAction *ClearCredentialsParams : github.com/chromedp/chromedp.EvaluateAction *ClearCredentialsParams : github.com/chromedp/chromedp.KeyAction *ClearCredentialsParams : github.com/chromedp/chromedp.MouseAction *ClearCredentialsParams : github.com/chromedp/chromedp.NavigateAction *ClearCredentialsParams : github.com/chromedp/chromedp.PollAction *ClearCredentialsParams : github.com/chromedp/chromedp.QueryAction ClearCredentialsParams : github.com/goccy/go-json.Marshaler *ClearCredentialsParams : github.com/goccy/go-json.Unmarshaler ClearCredentialsParams : github.com/mailru/easyjson.Marshaler *ClearCredentialsParams : github.com/mailru/easyjson.MarshalerUnmarshaler *ClearCredentialsParams : github.com/mailru/easyjson.Unmarshaler ClearCredentialsParams : encoding/json.Marshaler *ClearCredentialsParams : encoding/json.Unmarshaler func ClearCredentials(authenticatorID AuthenticatorID) *ClearCredentialsParams
Credential [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#type-Credential CredentialID string IsResidentCredential bool // The large blob associated with the credential. See https://w3c.github.io/webauthn/#sctn-large-blob-extension // The ECDSA P-256 private key in PKCS#8 format. // Relying Party ID the credential is scoped to. Must be set when adding a credential. // Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/#signature-counter // An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface Credential : github.com/goccy/go-json.Marshaler *Credential : github.com/goccy/go-json.Unmarshaler Credential : github.com/mailru/easyjson.Marshaler *Credential : github.com/mailru/easyjson.MarshalerUnmarshaler *Credential : github.com/mailru/easyjson.Unmarshaler Credential : encoding/json.Marshaler *Credential : encoding/json.Unmarshaler func (*GetCredentialParams).Do(ctx context.Context) (credential *Credential, err error) func (*GetCredentialsParams).Do(ctx context.Context) (credentials []*Credential, err error) func AddCredential(authenticatorID AuthenticatorID, credential *Credential) *AddCredentialParams
Ctap2version [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#type-Ctap2Version MarshalEasyJSON satisfies easyjson.Marshaler. MarshalJSON satisfies json.Marshaler. String returns the Ctap2version as string value. UnmarshalEasyJSON satisfies easyjson.Unmarshaler. UnmarshalJSON satisfies json.Unmarshaler. Ctap2version : github.com/goccy/go-json.Marshaler *Ctap2version : github.com/goccy/go-json.Unmarshaler Ctap2version : github.com/mailru/easyjson.Marshaler *Ctap2version : github.com/mailru/easyjson.MarshalerUnmarshaler *Ctap2version : github.com/mailru/easyjson.Unmarshaler Ctap2version : encoding/json.Marshaler *Ctap2version : encoding/json.Unmarshaler Ctap2version : expvar.Var Ctap2version : fmt.Stringer const Ctap2versionCtap20 const Ctap2versionCtap21
DisableParams disable the WebAuthn domain. Do executes WebAuthn.disable against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *DisableParams : github.com/chromedp/chromedp.Action *DisableParams : github.com/chromedp/chromedp.CallAction *DisableParams : github.com/chromedp/chromedp.EmulateAction *DisableParams : github.com/chromedp/chromedp.EvaluateAction *DisableParams : github.com/chromedp/chromedp.KeyAction *DisableParams : github.com/chromedp/chromedp.MouseAction *DisableParams : github.com/chromedp/chromedp.NavigateAction *DisableParams : github.com/chromedp/chromedp.PollAction *DisableParams : github.com/chromedp/chromedp.QueryAction DisableParams : github.com/goccy/go-json.Marshaler *DisableParams : github.com/goccy/go-json.Unmarshaler DisableParams : github.com/mailru/easyjson.Marshaler *DisableParams : github.com/mailru/easyjson.MarshalerUnmarshaler *DisableParams : github.com/mailru/easyjson.Unmarshaler DisableParams : encoding/json.Marshaler *DisableParams : encoding/json.Unmarshaler func Disable() *DisableParams
EnableParams enable the WebAuthn domain and start intercepting credential storage and retrieval with a virtual authenticator. // Whether to enable the WebAuthn user interface. Enabling the UI is recommended for debugging and demo purposes, as it is closer to the real experience. Disabling the UI is recommended for automated testing. Supported at the embedder's discretion if UI is available. Defaults to false. Do executes WebAuthn.enable against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface WithEnableUI whether to enable the WebAuthn user interface. Enabling the UI is recommended for debugging and demo purposes, as it is closer to the real experience. Disabling the UI is recommended for automated testing. Supported at the embedder's discretion if UI is available. Defaults to false. *EnableParams : github.com/chromedp/chromedp.Action *EnableParams : github.com/chromedp/chromedp.CallAction *EnableParams : github.com/chromedp/chromedp.EmulateAction *EnableParams : github.com/chromedp/chromedp.EvaluateAction *EnableParams : github.com/chromedp/chromedp.KeyAction *EnableParams : github.com/chromedp/chromedp.MouseAction *EnableParams : github.com/chromedp/chromedp.NavigateAction *EnableParams : github.com/chromedp/chromedp.PollAction *EnableParams : github.com/chromedp/chromedp.QueryAction EnableParams : github.com/goccy/go-json.Marshaler *EnableParams : github.com/goccy/go-json.Unmarshaler EnableParams : github.com/mailru/easyjson.Marshaler *EnableParams : github.com/mailru/easyjson.MarshalerUnmarshaler *EnableParams : github.com/mailru/easyjson.Unmarshaler EnableParams : encoding/json.Marshaler *EnableParams : encoding/json.Unmarshaler func Enable() *EnableParams func EnableParams.WithEnableUI(enableUI bool) *EnableParams
EventCredentialAdded triggered when a credential is added to an authenticator. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#event-credentialAdded AuthenticatorID AuthenticatorID Credential *Credential MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface EventCredentialAdded : github.com/goccy/go-json.Marshaler *EventCredentialAdded : github.com/goccy/go-json.Unmarshaler EventCredentialAdded : github.com/mailru/easyjson.Marshaler *EventCredentialAdded : github.com/mailru/easyjson.MarshalerUnmarshaler *EventCredentialAdded : github.com/mailru/easyjson.Unmarshaler EventCredentialAdded : encoding/json.Marshaler *EventCredentialAdded : encoding/json.Unmarshaler
EventCredentialAsserted triggered when a credential is used in a webauthn assertion. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#event-credentialAsserted AuthenticatorID AuthenticatorID Credential *Credential MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface EventCredentialAsserted : github.com/goccy/go-json.Marshaler *EventCredentialAsserted : github.com/goccy/go-json.Unmarshaler EventCredentialAsserted : github.com/mailru/easyjson.Marshaler *EventCredentialAsserted : github.com/mailru/easyjson.MarshalerUnmarshaler *EventCredentialAsserted : github.com/mailru/easyjson.Unmarshaler EventCredentialAsserted : encoding/json.Marshaler *EventCredentialAsserted : encoding/json.Unmarshaler
GetCredentialParams returns a single credential stored in the given virtual authenticator that matches the credential ID. AuthenticatorID AuthenticatorID CredentialID string Do executes WebAuthn.getCredential against the provided context. returns: credential MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetCredentialParams : github.com/goccy/go-json.Marshaler *GetCredentialParams : github.com/goccy/go-json.Unmarshaler GetCredentialParams : github.com/mailru/easyjson.Marshaler *GetCredentialParams : github.com/mailru/easyjson.MarshalerUnmarshaler *GetCredentialParams : github.com/mailru/easyjson.Unmarshaler GetCredentialParams : encoding/json.Marshaler *GetCredentialParams : encoding/json.Unmarshaler func GetCredential(authenticatorID AuthenticatorID, credentialID string) *GetCredentialParams
GetCredentialReturns return values. Credential *Credential MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetCredentialReturns : github.com/goccy/go-json.Marshaler *GetCredentialReturns : github.com/goccy/go-json.Unmarshaler GetCredentialReturns : github.com/mailru/easyjson.Marshaler *GetCredentialReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *GetCredentialReturns : github.com/mailru/easyjson.Unmarshaler GetCredentialReturns : encoding/json.Marshaler *GetCredentialReturns : encoding/json.Unmarshaler
GetCredentialsParams returns all the credentials stored in the given virtual authenticator. AuthenticatorID AuthenticatorID Do executes WebAuthn.getCredentials against the provided context. returns: credentials MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetCredentialsParams : github.com/goccy/go-json.Marshaler *GetCredentialsParams : github.com/goccy/go-json.Unmarshaler GetCredentialsParams : github.com/mailru/easyjson.Marshaler *GetCredentialsParams : github.com/mailru/easyjson.MarshalerUnmarshaler *GetCredentialsParams : github.com/mailru/easyjson.Unmarshaler GetCredentialsParams : encoding/json.Marshaler *GetCredentialsParams : encoding/json.Unmarshaler func GetCredentials(authenticatorID AuthenticatorID) *GetCredentialsParams
GetCredentialsReturns return values. Credentials []*Credential MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface GetCredentialsReturns : github.com/goccy/go-json.Marshaler *GetCredentialsReturns : github.com/goccy/go-json.Unmarshaler GetCredentialsReturns : github.com/mailru/easyjson.Marshaler *GetCredentialsReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *GetCredentialsReturns : github.com/mailru/easyjson.Unmarshaler GetCredentialsReturns : encoding/json.Marshaler *GetCredentialsReturns : encoding/json.Unmarshaler
RemoveCredentialParams removes a credential from the authenticator. AuthenticatorID AuthenticatorID CredentialID string Do executes WebAuthn.removeCredential against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *RemoveCredentialParams : github.com/chromedp/chromedp.Action *RemoveCredentialParams : github.com/chromedp/chromedp.CallAction *RemoveCredentialParams : github.com/chromedp/chromedp.EmulateAction *RemoveCredentialParams : github.com/chromedp/chromedp.EvaluateAction *RemoveCredentialParams : github.com/chromedp/chromedp.KeyAction *RemoveCredentialParams : github.com/chromedp/chromedp.MouseAction *RemoveCredentialParams : github.com/chromedp/chromedp.NavigateAction *RemoveCredentialParams : github.com/chromedp/chromedp.PollAction *RemoveCredentialParams : github.com/chromedp/chromedp.QueryAction RemoveCredentialParams : github.com/goccy/go-json.Marshaler *RemoveCredentialParams : github.com/goccy/go-json.Unmarshaler RemoveCredentialParams : github.com/mailru/easyjson.Marshaler *RemoveCredentialParams : github.com/mailru/easyjson.MarshalerUnmarshaler *RemoveCredentialParams : github.com/mailru/easyjson.Unmarshaler RemoveCredentialParams : encoding/json.Marshaler *RemoveCredentialParams : encoding/json.Unmarshaler func RemoveCredential(authenticatorID AuthenticatorID, credentialID string) *RemoveCredentialParams
RemoveVirtualAuthenticatorParams removes the given authenticator. AuthenticatorID AuthenticatorID Do executes WebAuthn.removeVirtualAuthenticator against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *RemoveVirtualAuthenticatorParams : github.com/chromedp/chromedp.Action *RemoveVirtualAuthenticatorParams : github.com/chromedp/chromedp.CallAction *RemoveVirtualAuthenticatorParams : github.com/chromedp/chromedp.EmulateAction *RemoveVirtualAuthenticatorParams : github.com/chromedp/chromedp.EvaluateAction *RemoveVirtualAuthenticatorParams : github.com/chromedp/chromedp.KeyAction *RemoveVirtualAuthenticatorParams : github.com/chromedp/chromedp.MouseAction *RemoveVirtualAuthenticatorParams : github.com/chromedp/chromedp.NavigateAction *RemoveVirtualAuthenticatorParams : github.com/chromedp/chromedp.PollAction *RemoveVirtualAuthenticatorParams : github.com/chromedp/chromedp.QueryAction RemoveVirtualAuthenticatorParams : github.com/goccy/go-json.Marshaler *RemoveVirtualAuthenticatorParams : github.com/goccy/go-json.Unmarshaler RemoveVirtualAuthenticatorParams : github.com/mailru/easyjson.Marshaler *RemoveVirtualAuthenticatorParams : github.com/mailru/easyjson.MarshalerUnmarshaler *RemoveVirtualAuthenticatorParams : github.com/mailru/easyjson.Unmarshaler RemoveVirtualAuthenticatorParams : encoding/json.Marshaler *RemoveVirtualAuthenticatorParams : encoding/json.Unmarshaler func RemoveVirtualAuthenticator(authenticatorID AuthenticatorID) *RemoveVirtualAuthenticatorParams
SetAutomaticPresenceSimulationParams sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator. The default is true. AuthenticatorID AuthenticatorID Enabled bool Do executes WebAuthn.setAutomaticPresenceSimulation against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *SetAutomaticPresenceSimulationParams : github.com/chromedp/chromedp.Action *SetAutomaticPresenceSimulationParams : github.com/chromedp/chromedp.CallAction *SetAutomaticPresenceSimulationParams : github.com/chromedp/chromedp.EmulateAction *SetAutomaticPresenceSimulationParams : github.com/chromedp/chromedp.EvaluateAction *SetAutomaticPresenceSimulationParams : github.com/chromedp/chromedp.KeyAction *SetAutomaticPresenceSimulationParams : github.com/chromedp/chromedp.MouseAction *SetAutomaticPresenceSimulationParams : github.com/chromedp/chromedp.NavigateAction *SetAutomaticPresenceSimulationParams : github.com/chromedp/chromedp.PollAction *SetAutomaticPresenceSimulationParams : github.com/chromedp/chromedp.QueryAction SetAutomaticPresenceSimulationParams : github.com/goccy/go-json.Marshaler *SetAutomaticPresenceSimulationParams : github.com/goccy/go-json.Unmarshaler SetAutomaticPresenceSimulationParams : github.com/mailru/easyjson.Marshaler *SetAutomaticPresenceSimulationParams : github.com/mailru/easyjson.MarshalerUnmarshaler *SetAutomaticPresenceSimulationParams : github.com/mailru/easyjson.Unmarshaler SetAutomaticPresenceSimulationParams : encoding/json.Marshaler *SetAutomaticPresenceSimulationParams : encoding/json.Unmarshaler func SetAutomaticPresenceSimulation(authenticatorID AuthenticatorID, enabled bool) *SetAutomaticPresenceSimulationParams
SetResponseOverrideBitsParams resets parameters isBogusSignature, isBadUV, isBadUP to false if they are not present. AuthenticatorID AuthenticatorID // If isBadUP is set, overrides the UP bit in the flags in the authenticator response to be zero. Defaults to false. // If isBadUV is set, overrides the UV bit in the flags in the authenticator response to be zero. Defaults to false. // If isBogusSignature is set, overrides the signature in the authenticator response to be zero. Defaults to false. Do executes WebAuthn.setResponseOverrideBits against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface WithIsBadUP if isBadUP is set, overrides the UP bit in the flags in the authenticator response to be zero. Defaults to false. WithIsBadUV if isBadUV is set, overrides the UV bit in the flags in the authenticator response to be zero. Defaults to false. WithIsBogusSignature if isBogusSignature is set, overrides the signature in the authenticator response to be zero. Defaults to false. *SetResponseOverrideBitsParams : github.com/chromedp/chromedp.Action *SetResponseOverrideBitsParams : github.com/chromedp/chromedp.CallAction *SetResponseOverrideBitsParams : github.com/chromedp/chromedp.EmulateAction *SetResponseOverrideBitsParams : github.com/chromedp/chromedp.EvaluateAction *SetResponseOverrideBitsParams : github.com/chromedp/chromedp.KeyAction *SetResponseOverrideBitsParams : github.com/chromedp/chromedp.MouseAction *SetResponseOverrideBitsParams : github.com/chromedp/chromedp.NavigateAction *SetResponseOverrideBitsParams : github.com/chromedp/chromedp.PollAction *SetResponseOverrideBitsParams : github.com/chromedp/chromedp.QueryAction SetResponseOverrideBitsParams : github.com/goccy/go-json.Marshaler *SetResponseOverrideBitsParams : github.com/goccy/go-json.Unmarshaler SetResponseOverrideBitsParams : github.com/mailru/easyjson.Marshaler *SetResponseOverrideBitsParams : github.com/mailru/easyjson.MarshalerUnmarshaler *SetResponseOverrideBitsParams : github.com/mailru/easyjson.Unmarshaler SetResponseOverrideBitsParams : encoding/json.Marshaler *SetResponseOverrideBitsParams : encoding/json.Unmarshaler func SetResponseOverrideBits(authenticatorID AuthenticatorID) *SetResponseOverrideBitsParams func SetResponseOverrideBitsParams.WithIsBadUP(isBadUP bool) *SetResponseOverrideBitsParams func SetResponseOverrideBitsParams.WithIsBadUV(isBadUV bool) *SetResponseOverrideBitsParams func SetResponseOverrideBitsParams.WithIsBogusSignature(isBogusSignature bool) *SetResponseOverrideBitsParams
SetUserVerifiedParams sets whether User Verification succeeds or fails for an authenticator. The default is true. AuthenticatorID AuthenticatorID IsUserVerified bool Do executes WebAuthn.setUserVerified against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *SetUserVerifiedParams : github.com/chromedp/chromedp.Action *SetUserVerifiedParams : github.com/chromedp/chromedp.CallAction *SetUserVerifiedParams : github.com/chromedp/chromedp.EmulateAction *SetUserVerifiedParams : github.com/chromedp/chromedp.EvaluateAction *SetUserVerifiedParams : github.com/chromedp/chromedp.KeyAction *SetUserVerifiedParams : github.com/chromedp/chromedp.MouseAction *SetUserVerifiedParams : github.com/chromedp/chromedp.NavigateAction *SetUserVerifiedParams : github.com/chromedp/chromedp.PollAction *SetUserVerifiedParams : github.com/chromedp/chromedp.QueryAction SetUserVerifiedParams : github.com/goccy/go-json.Marshaler *SetUserVerifiedParams : github.com/goccy/go-json.Unmarshaler SetUserVerifiedParams : github.com/mailru/easyjson.Marshaler *SetUserVerifiedParams : github.com/mailru/easyjson.MarshalerUnmarshaler *SetUserVerifiedParams : github.com/mailru/easyjson.Unmarshaler SetUserVerifiedParams : encoding/json.Marshaler *SetUserVerifiedParams : encoding/json.Unmarshaler func SetUserVerified(authenticatorID AuthenticatorID, isUserVerified bool) *SetUserVerifiedParams
VirtualAuthenticatorOptions [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#type-VirtualAuthenticatorOptions // If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true. // Defaults to ctap2_0. Ignored if |protocol| == u2f. // If set to true, the authenticator will support the credBlob extension. https://fidoalliance.org/specs/fido-v2.1-rd-20201208/fido-client-to-authenticator-protocol-v2.1-rd-20201208.html#sctn-credBlob-extension Defaults to false. // If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false. // If set to true, the authenticator will support the minPinLength extension. https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension Defaults to false. // If set to true, the authenticator will support the prf extension. https://w3c.github.io/webauthn/#prf-extension Defaults to false. // Defaults to false. // Defaults to false. // Sets whether User Verification succeeds or fails for an authenticator. Defaults to false. Protocol AuthenticatorProtocol Transport AuthenticatorTransport MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface VirtualAuthenticatorOptions : github.com/goccy/go-json.Marshaler *VirtualAuthenticatorOptions : github.com/goccy/go-json.Unmarshaler VirtualAuthenticatorOptions : github.com/mailru/easyjson.Marshaler *VirtualAuthenticatorOptions : github.com/mailru/easyjson.MarshalerUnmarshaler *VirtualAuthenticatorOptions : github.com/mailru/easyjson.Unmarshaler VirtualAuthenticatorOptions : encoding/json.Marshaler *VirtualAuthenticatorOptions : encoding/json.Unmarshaler func AddVirtualAuthenticator(options *VirtualAuthenticatorOptions) *AddVirtualAuthenticatorParams
Package-Level Functions (total 12)
AddCredential adds the credential to the specified authenticator. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#method-addCredential parameters: authenticatorID credential
ClearCredentials clears all the credentials from the specified device. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#method-clearCredentials parameters: authenticatorID
Enable enable the WebAuthn domain and start intercepting credential storage and retrieval with a virtual authenticator. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#method-enable parameters:
GetCredential returns a single credential stored in the given virtual authenticator that matches the credential ID. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#method-getCredential parameters: authenticatorID credentialID
GetCredentials returns all the credentials stored in the given virtual authenticator. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#method-getCredentials parameters: authenticatorID
RemoveCredential removes a credential from the authenticator. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#method-removeCredential parameters: authenticatorID credentialID
RemoveVirtualAuthenticator removes the given authenticator. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#method-removeVirtualAuthenticator parameters: authenticatorID
SetAutomaticPresenceSimulation sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator. The default is true. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#method-setAutomaticPresenceSimulation parameters: authenticatorID enabled
SetResponseOverrideBits resets parameters isBogusSignature, isBadUV, isBadUP to false if they are not present. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#method-setResponseOverrideBits parameters: authenticatorID
SetUserVerified sets whether User Verification succeeds or fails for an authenticator. The default is true. See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#method-setUserVerified parameters: authenticatorID isUserVerified
Package-Level Constants (total 21)
AuthenticatorProtocol values.
AuthenticatorProtocol values.
AuthenticatorTransport values.
AuthenticatorTransport values.
AuthenticatorTransport values.
AuthenticatorTransport values.
AuthenticatorTransport values.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Ctap2version values.
Ctap2version values.