@tkey/service-provider-sfa
v17.2.0
Published
TKey Torus Service Provider Module
Downloads
350
Readme
tKey Single Factor Auth Service Provider
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-sfaSee 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});