oidc-react
• Const
AuthContext: Context
<undefined
| AuthContextProps
>
▸ AuthProvider(props
, context?
): ReactNode
Name | Type | Description |
---|---|---|
props |
PropsWithChildren <AuthProviderProps > |
AuthProviderProps |
context? |
any |
- |
ReactNode
node_modules/.pnpm/@types+react@18.2.37/node_modules/@types/react/index.d.ts:567
▸ useAuth(): AuthContextProps
▸ withAuth<P
>(Component
): React.ComponentType
<Omit
<P
, keyof AuthContextProps
>>
A public higher-order component to access the imperative API
Name | Type |
---|---|
P |
extends AuthContextProps |
Name | Type |
---|---|
Component |
ComponentType <P > |
React.ComponentType
<Omit
<P
, keyof AuthContextProps
>>