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