Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / packages/auth/src/client/providers/fallback/provider.tsx |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | packages/auth/src/client/providers/fallback/provider.tsx |
| Original SHA-256 | 74f836a1ff09fca57e05b2dc4098ff0f1cbb1ada5251f6722d56809a5aafbc18 |
| Git blob SHA | fcddbc8cd140d9d8f1860a6fc704d9bc01bdcac9 |
| Reading-copy SHA-256 | 74f836a1ff09fca57e05b2dc4098ff0f1cbb1ada5251f6722d56809a5aafbc18 |
Recovered source transcript
Download complete source text ↓26 lines · 0.6 KB
'use client'
import type { PropsWithChildren } from 'react'
import { AuthContextProvider } from '../../context'
export function FallbackProvider({ children }: PropsWithChildren) {
return (
<AuthContextProvider
value={{
isLoaded: true,
isSignedIn: false,
user: null,
signIn: async () => {},
signOut: async () => {},
getSession: async () => ({ user: null, isSignedIn: false }),
getUser: async () => null,
reloadUser: async () => {
// No-op for fallback provider
}
}}
>
{children}
</AuthContextProvider>
)
}