MCPcopy Create free account
hub / github.com/dailydotdev/apps / isNativeAuthSupported

Function isNativeAuthSupported

packages/shared/src/lib/auth.ts:161–163  ·  view source on GitHub ↗
(provider: string)

Source from the content-addressed store, hash-verified

159}
160
161export const isNativeAuthSupported = (provider: string): boolean =>
162 messageHandlerExists(WebKitMessageHandlers.NativeAuth) &&
163 ['apple', 'google'].includes(provider);
164
165export type NativeAuthResponse = {
166 provider: string;

Callers 5

onProviderClickFunction · 0.90
AuthOptionsInnerFunction · 0.90
onRegisterFunction · 0.90
useLoginFunction · 0.90
onSocialRegistrationFunction · 0.90

Calls 1

messageHandlerExistsFunction · 0.90

Tested by

no test coverage detected