UNPKG

@joinmeow/cognito-passwordless-auth

Version:

Passwordless authentication with Amazon Cognito: FIDO2 (WebAuthn, support for Passkeys)

37 lines (36 loc) 1.29 kB
/** * Copyright Amazon.com, Inc. and its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You * may not use this file except in compliance with the License. A copy of * the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" file accompanying this file. This file is * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF * ANY KIND, either express or implied. See the License for the specific * language governing permissions and limitations under the License. */ import { configure, configureFromAmplify } from "./config.js"; import { CognitoSecurityProvider } from "./cognito-security.js"; export declare const Passwordless: { configure: typeof configure; configureFromAmplify: typeof configureFromAmplify; security: { /** * Get the Cognito Security Provider instance */ getSecurityProvider: () => CognitoSecurityProvider; }; }; export * from "./common.js"; export * from "./fido2.js"; export * from "./model.js"; export * from "./plaintext.js"; export * from "./refresh.js"; export * from "./srp.js"; export * from "./storage.js"; export * from "./util.js"; export * from "./jwt-model.js"; export * from "./hosted-oauth.js";