summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/index.ts
blob: 7fe2c4bd7a78088b4effb9252d7a2d5cb3b28ce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
 * @packageDocumentation
 * @module @simplewebauthn/browser
 */
import { startRegistration } from "./methods/startRegistration";
import { startAuthentication } from "./methods/startAuthentication";
import { browserSupportsWebAuthn } from "./helpers/browserSupportsWebAuthn";
import { platformAuthenticatorIsAvailable } from "./helpers/platformAuthenticatorIsAvailable";
import { browserSupportsWebAuthnAutofill } from "./helpers/browserSupportsWebAuthnAutofill";

export {
  browserSupportsWebAuthn,
  browserSupportsWebAuthnAutofill,
  platformAuthenticatorIsAvailable,
  startAuthentication,
  startRegistration,
};

export type { WebAuthnErrorCode } from "./helpers/webAuthnError";