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

Function isNativeAuthFailure

packages/shared/src/lib/auth.ts:192–194  ·  view source on GitHub ↗
(
  reply: NativeAuthReply,
)

Source from the content-addressed store, hash-verified

190const nativeAuthTimedOut = Symbol('native-auth-timeout');
191
192const isNativeAuthFailure = (
193 reply: NativeAuthReply,
194): reply is NativeAuthFailure => !!reply && 'error' in reply && !!reply.error;
195
196/**
197 * Asks the iOS app to sign in natively and waits for its `native-auth` reply.

Callers 1

iosNativeAuthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected