OBJECT

WebauthnMutationSection

Passkey (WebAuthn) management for the logged user

link GraphQL Schema definition

  • type WebauthnMutationSection {
  • # Starts passkey registration; returns PublicKeyCredentialCreationOptions as JSON
  • # to pass to navigator.credentials.create()
  • registrationOptions: String!
  • # Finishes passkey registration with the JSON returned by
  • # navigator.credentials.create(); requires prior
  • # twoFactorAuthentication.confirmManagementAccess
  • #
  • # Arguments
  • # response:
  • # name:
  • # Possible violation list:
  • # IS_BLANK_ERROR,TOO_SHORT_ERROR,TOO_LONG_ERROR,NOT_EQUAL_LENGTH_ERROR,INVALID_CHARACTERS_ERROR
  • registrationVerify(
  • response: WebauthnAttestationResponse!,
  • name: String!
  • ): WebauthnMutationSectionRegistrationVerifyOutput!
  • # Removes one of the logged user passkeys; requires prior
  • # twoFactorAuthentication.confirmManagementAccess
  • #
  • # Arguments
  • # id:
  • removeCredential(id: WebauthnCredentialId!): WebauthnMutationSectionRemoveCredentialOutput!
  • }