1.0.13 • Published 12 months ago

anonybit-fido-js v1.0.13

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
12 months ago

README

Anonybit FIDO JS integration

What is this repository for?

Anonybit integration with FIDO

How do I get set up?

  • use npm i anonybit-fido-js or yarn install anonybit-fido-js in order to install this package into your app
  • initialize an object:
    • const options = {cid: [customer id], rpBaseURL: [Relying party URL]}
    • const fido = new AnonybitFIDO(options)

FIDO capabilities

  • your rp and your website has to have the same domain in order for the process to work
  • for registering use await fido.registerDevice(userID, name, displayName) it'll return a promise for a success with a token{success: true, token: xxxx}
  • prior to the registration call there should be an API call to the RP to enable registration [rpBaseURL]/api/v1/init
  • for authentication use await fido.authenticateDevice(userID) it'll return a promise for a success with a token{success: true, token: xxxx}

Who do I talk to?

if there is any problems please contact me at nadav@anonybit.io

1.0.13

12 months ago

1.0.12

12 months ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago