UNPKG

@aws-amplify/auth

Version:
19 lines (16 loc) 626 B
import { loadAmplifyRtnPasskeys } from '@aws-amplify/react-native'; import { handlePasskeyAuthenticationError } from './errors/handlePasskeyAuthenticationError.mjs'; import '@aws-amplify/core/internals/utils'; import './errors/passkeyError.mjs'; // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 const getPasskey = async (input) => { try { return await loadAmplifyRtnPasskeys().getPasskey(input); } catch (err) { throw handlePasskeyAuthenticationError(err); } }; export { getPasskey }; //# sourceMappingURL=getPasskey.native.mjs.map