Function: withAuth()
July 8, 2025 ยท View on GitHub
oidc-react / withAuth
Function: withAuth()
withAuth<
P>(Component):ComponentType<Omit<P, keyofAuthContextProps>>
Defined in: with-auth.tsx:8
A public higher-order component to access the imperative API
Type Parameters
P
P extends AuthContextProps
Parameters
Component
ComponentType<P>
Returns
ComponentType<Omit<P, keyof AuthContextProps>>