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

Function isNativeAuthSupported

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

Source from the content-addressed store, hash-verified

140}
141
142export const isNativeAuthSupported = (provider: string): boolean =>
143 messageHandlerExists(WebKitMessageHandlers.NativeAuth) &&
144 ['apple', 'google'].includes(provider);
145
146export type NativeAuthResponse = {
147 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