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()
- : String!
- # Confirms the account password to unlock passkey management for the current
- # session, so adding/removing passkeys does not require the password each time
- #
- # Arguments
- # password: Current account password; confirms passkey management
- # access for a short time (step-up)
- (: String!): Boolean!
- # Finishes passkey registration with the JSON returned by
- # navigator.credentials.create(); requires prior confirmManagementAccess
- #
- # Arguments
- # response:
- # name:
- (
- : WebauthnAttestationResponse!,
- : String!
- ): WebauthnCredential!
- # Removes one of the logged user passkeys; requires prior confirmManagementAccess
- #
- # Arguments
- # id:
- (: WebauthnCredentialId!): Boolean!
- }