@tkey/service-provider-sfa
TypeScript icon, indicating that this package has built-in type declarations

15.2.1-alpha.0 • Public • Published

tKey Single Factor Auth Service Provider

npm version minzip

Service Provider in tKey is used for generating a social login share of the private key share managed by a wallet service provider via their own authentication flows.

Installation

npm install --save @tkey/service-provider-sfa

See the full SDK Reference on the Web3Auth Documentation

Example

import SFAServiceProvider from '@tkey/service-provider-sfa';

const web3AuthOptions: any = {
  clientId, // Get your Client ID from Web3Auth Dashboard
  web3AuthNetwork: 'testnet', // ["cyan", "testnet", "mainnet", "aqua", "sapphire_devnet", "sapphire_mainnet"]
};

const serviceProvider = new SFAServiceProvider({web3AuthOptions});

Readme

Keywords

none

Package Sidebar

Install

npm i @tkey/service-provider-sfa

Weekly Downloads

167

Version

15.2.1-alpha.0

License

MIT

Unpacked Size

440 kB

Total Files

14

Last publish

Collaborators

  • himanshunpm009
  • chaitanyapotti