UNPKG

@aws-amplify/auth

Version:

Auth category of aws-amplify

1 lines • 739 B
{"version":3,"file":"getCurrentUser.mjs","sources":["../../../../../src/providers/cognito/apis/getCurrentUser.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { resolveCtxArgs } from '@aws-amplify/core/internals/utils';\nimport { getCurrentUser as getCurrentUserInternal } from './internal/getCurrentUser';\nexport async function getCurrentUser(...args) {\n const [ctx] = resolveCtxArgs(args);\n return getCurrentUserInternal(ctx);\n}\n"],"names":["getCurrentUserInternal"],"mappings":";;;AAAA;AACA;AAGO,eAAe,cAAc,CAAC,GAAG,IAAI,EAAE;AAC9C,IAAI,MAAM,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC,IAAI,CAAC;AACtC,IAAI,OAAOA,gBAAsB,CAAC,GAAG,CAAC;AACtC;;;;"}