@tkey/service-provider-sfa
v11.0.0
Published
TKey Torus Service Provider Module
Downloads
516
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-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
chainConfig,
web3AuthNetwork: 'testnet', // ["cyan", "testnet", "sapphire-devnet", "sapphire-mainnet"]
};
const serviceProvider = new SFAServiceProvider({web3AuthOptions});