@aws-amplify/datastore
Version:
AppSyncLocal support for aws-amplify
9 lines (7 loc) • 386 B
text/typescript
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import { AuthModeStrategy } from '../types';
// Default behavior is to use the primary auth mode for an API,
// so we are returning an empty array so that DataStore will default
// to using the primary auth mode.
export const defaultAuthStrategy: AuthModeStrategy = () => [];