@ownid/webauthn
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Passkeys/WebAuthn

WebAuthn

Overview

This package developed in order to simplify the amount of work needed to implement WebAuthn into your website.

Installation

After pulling down the code, set up dependencies:

npm install @ownid/webauthn

Usage

Create passkey/webauthn credentials

import {fido2Create} from "@ownid/webauthn"
.
.
.
const data = await fido2Create(publicKey, username);

Get passkey/webauthn credentials

import {fido2Get} from "@ownid/webauthn"
.
.
.
const data = await fido2Get(publicKey, username);

Readme

Keywords

none

Package Sidebar

Install

npm i @ownid/webauthn

Weekly Downloads

35

Version

1.0.0

License

ISC

Unpacked Size

6.74 kB

Total Files

8

Last publish

Collaborators

  • tony-pa
  • baryo_ownid
  • dorshany