oc · docs
docs / documentation

@orangecheck/auth-client


@orangecheck/auth-client / OcSessionProvider

Function: OcSessionProvider()

function OcSessionProvider(__namedParameters: OcSessionProviderProps): ReactElement;

Defined in: provider.tsx:192

Top-level provider that exposes the cross-subdomain oc_session to every component below it. Mount once, near the root of your tree.

Parameters

ParameterType
__namedParametersOcSessionProviderProps

Returns

ReactElement