events.go 739 B

123456789101112131415161718192021
  1. package webauthn
  2. // Code generated by cdproto-gen. DO NOT EDIT.
  3. // EventCredentialAdded triggered when a credential is added to an
  4. // authenticator.
  5. //
  6. // See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#event-credentialAdded
  7. type EventCredentialAdded struct {
  8. AuthenticatorID AuthenticatorID `json:"authenticatorId"`
  9. Credential *Credential `json:"credential"`
  10. }
  11. // EventCredentialAsserted triggered when a credential is used in a webauthn
  12. // assertion.
  13. //
  14. // See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#event-credentialAsserted
  15. type EventCredentialAsserted struct {
  16. AuthenticatorID AuthenticatorID `json:"authenticatorId"`
  17. Credential *Credential `json:"credential"`
  18. }