@aws-amplify/auth
Version:
Auth category of aws-amplify
1 lines • 1.41 kB
Source Map (JSON)
{"version":3,"file":"listWebAuthnCredentials.mjs","sources":["../../../../src/client/apis/listWebAuthnCredentials.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { getGlobalContext } from '@aws-amplify/core';\nimport { listWebAuthnCredentials as listWebAuthnCredentialsFoundation } from '../../foundation/apis';\n/**\n * Lists registered credentials for an authenticated user\n *\n * @param {ListWebAuthnCredentialsInput} input The list input parameters including page size and next token.\n * @returns Promise<ListWebAuthnCredentialsOutput>\n * @throws - {@link AuthError}:\n * - Thrown when user is unauthenticated\n * @throws - {@link ListWebAuthnCredentialsException}\n * - Thrown due to a service error when listing WebAuthn credentials\n */\nexport async function listWebAuthnCredentials(input) {\n // Resolve the global AmplifyContext fresh per operation so facade-only\n // configuration is honored (the core `Amplify` singleton is never\n // configured under the new facade).\n return listWebAuthnCredentialsFoundation(getGlobalContext(), input);\n}\n"],"names":["listWebAuthnCredentialsFoundation"],"mappings":";;;;;;;;;;;;AAAA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,eAAe,uBAAuB,CAAC,KAAK,EAAE;AACrD;AACA;AACA;AACA,IAAI,OAAOA,yBAAiC,CAAC,gBAAgB,EAAE,EAAE,KAAK,CAAC;AACvE;;;;"}