refactoring step1 GoogleAuth
This commit is contained in:
5
src/lib/services/providerUtils.ts
Normal file
5
src/lib/services/providerUtils.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import { LitAuthClient, BaseProvider, GoogleProvider, ProviderType } from '@lit-protocol/lit-auth-client';
|
||||
|
||||
export function initializeProvider(litAuthClient: typeof LitAuthClient): BaseProvider {
|
||||
return litAuthClient.initProvider<GoogleProvider>(ProviderType.Google);
|
||||
}
|
Reference in New Issue
Block a user