BetterAuthClientInterface
Minimal interface for the Better Auth client used by the Redux slice. This interface defines only the methods needed by the slice, allowing tests to use mock clients without importing React Native.
Properties
getSession
getSession: () =>
Promise<{data?: {session?:BetterAuthSession;user?:BetterAuthUser; }; }>
Returns
Promise<{ data?: { session?: BetterAuthSession; user?: BetterAuthUser; }; }>
signOut
signOut: () =>
Promise<void>
Returns
Promise<void>