MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / hintState

Function hintState

packages/react/src/multiplayer/auth-context.tsx:65–70  ·  view source on GitHub ↗
(hint: AuthHint | null)

Source from the content-addressed store, hash-verified

63
64/** The auth-hint cookie as an optimistic AuthState, or null when absent. */
65const hintState = (hint: AuthHint | null): AuthState | null =>
66 hint && {
67 status: "authenticated",
68 user: hint.user,
69 organization: hint.organization,
70 };
71
72const AuthProviderClient = ({
73 children,

Callers 2

AuthProviderClientFunction · 0.85
AuthProviderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected