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

Function isNativeAuthSupported

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

Source from the content-addressed store, hash-verified

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