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

Function isNativeAuthSupported

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

Source from the content-addressed store, hash-verified

152}
153
154export const isNativeAuthSupported = (provider: string): boolean =>
155 messageHandlerExists(WebKitMessageHandlers.NativeAuth) &&
156 ['apple', 'google'].includes(provider);
157
158export type NativeAuthResponse = {
159 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