UNPKG

@aws-amplify/auth

Version:
1 lines 1.17 kB
{"version":3,"file":"deleteWebAuthnCredential.mjs","sources":["../../../../src/client/apis/deleteWebAuthnCredential.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { Amplify } from '@aws-amplify/core';\nimport { deleteWebAuthnCredential as deleteWebAuthnCredentialFoundation } from '../../foundation/apis';\n/**\n * Delete a registered credential for an authenticated user by credentialId\n * @param {DeleteWebAuthnCredentialInput} input The delete input parameters including the credentialId\n * @returns Promise<void>\n * @throws - {@link AuthError}:\n * - Thrown when user is unauthenticated\n * @throws - {@link DeleteWebAuthnCredentialException}\n * - Thrown due to a service error when deleting a WebAuthn credential\n */\nexport async function deleteWebAuthnCredential(input) {\n return deleteWebAuthnCredentialFoundation(Amplify, input);\n}\n"],"names":["deleteWebAuthnCredentialFoundation"],"mappings":";;;;;;;;;;;;AAAA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,eAAe,wBAAwB,CAAC,KAAK,EAAE;AACtD,IAAI,OAAOA,0BAAkC,CAAC,OAAO,EAAE,KAAK,CAAC;AAC7D;;;;"}