Skip to main content

Interface: IAuthenticationProviderConfiguration

Defined in: src/providers/react/types/provider-configuration.ts:34

Injection configuration for the authentication provider.

Remarks

The consumer supplies their own AuthProvider component, its config, and the hook that reads from it — keeping the runtime decoupled from any specific auth library.

Properties

AuthProvider

AuthProvider: ComponentType<IConfigurableProviderProps>

Defined in: src/providers/react/types/provider-configuration.ts:36

Authentication provider component


config

config: Record<string, unknown>

Defined in: src/providers/react/types/provider-configuration.ts:38

Configuration object forwarded to AuthProvider


useAuthContext

useAuthContext: () => IAuthContextValue

Defined in: src/providers/react/types/provider-configuration.ts:40

Hook that reads the auth context from inside AuthProvider

Returns

IAuthContextValue