@aws-amplify/core
Version:
Core category of aws-amplify
1 lines • 771 B
Source Map (JSON)
{"version":3,"file":"fetchAuthSession.mjs","sources":["../../../../../src/singleton/apis/server/fetchAuthSession.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { getAmplifyServerContext } from '../../../adapterCore';\nimport { fetchAuthSession as fetchAuthSessionInternal } from '../internal/fetchAuthSession';\nexport const fetchAuthSession = (contextSpec, options) => {\n return fetchAuthSessionInternal(getAmplifyServerContext(contextSpec).amplify, options);\n};\n"],"names":["fetchAuthSessionInternal"],"mappings":";;;;;AAAA;AACA;AAGY,MAAC,gBAAgB,GAAG,CAAC,WAAW,EAAE,OAAO,KAAK;AAC1D,IAAI,OAAOA,kBAAwB,CAAC,uBAAuB,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC3F;;;;"}