@thresholdkey/service-provider-torus
v1.0.12
Published
TKey Torus Service Provider Module
Downloads
3
Readme
tKey Torus 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 @thresholdkey/service-provider-torus
See the full SDK Reference on the Web3Auth Documentation
Example
import TorusServiceProvider from "@thresholdkey/service-provider-torus";
const customAuthParams = {
baseUrl: `${window.location.origin}/serviceworker`,
enableLogging: true,
network: "testnet" as any,
};
const serviceProvider = new TorusServiceProvider({ customAuthParams });