From e748fbaed3ac0fa5dd04535e35aac405e8b809e5 Mon Sep 17 00:00:00 2001 From: ochk-docs-bot Date: Thu, 21 May 2026 05:08:27 +0000 Subject: [PATCH] docs(sdk): sync auth-client@2.17.2 Auto-generated by oc-packages release workflow on tag auth-client-v2.17.2. Source: https://github.com/orangecheck/oc-packages/tree/auth-client-v2.17.2/auth-client/src Co-Authored-By: ochk-docs-bot --- src/pages/sdk/auth-client/functions/OcSessionProvider.mdx | 2 +- src/pages/sdk/auth-client/functions/useOcSession.mdx | 2 +- src/pages/sdk/auth-client/functions/useOptionalOcSession.mdx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/sdk/auth-client/functions/OcSessionProvider.mdx b/src/pages/sdk/auth-client/functions/OcSessionProvider.mdx index c817665..7ab75f1 100644 --- a/src/pages/sdk/auth-client/functions/OcSessionProvider.mdx +++ b/src/pages/sdk/auth-client/functions/OcSessionProvider.mdx @@ -15,7 +15,7 @@ export const metadata = { function OcSessionProvider(__namedParameters: OcSessionProviderProps): ReactElement; ``` -Defined in: [provider.tsx:148](https://github.com/orangecheck/oc-packages/blob/main/auth-client/src/provider.tsx#L148) +Defined in: [provider.tsx:180](https://github.com/orangecheck/oc-packages/blob/main/auth-client/src/provider.tsx#L180) Top-level provider that exposes the cross-subdomain oc_session to every component below it. Mount once, near the root of your tree. diff --git a/src/pages/sdk/auth-client/functions/useOcSession.mdx b/src/pages/sdk/auth-client/functions/useOcSession.mdx index bbb6b0f..8b71b67 100644 --- a/src/pages/sdk/auth-client/functions/useOcSession.mdx +++ b/src/pages/sdk/auth-client/functions/useOcSession.mdx @@ -15,7 +15,7 @@ export const metadata = { function useOcSession(): OcSessionState; ``` -Defined in: [provider.tsx:339](https://github.com/orangecheck/oc-packages/blob/main/auth-client/src/provider.tsx#L339) +Defined in: [provider.tsx:388](https://github.com/orangecheck/oc-packages/blob/main/auth-client/src/provider.tsx#L388) Access the current cross-subdomain oc_session. Must be called inside an ``. diff --git a/src/pages/sdk/auth-client/functions/useOptionalOcSession.mdx b/src/pages/sdk/auth-client/functions/useOptionalOcSession.mdx index 755da62..847cf1d 100644 --- a/src/pages/sdk/auth-client/functions/useOptionalOcSession.mdx +++ b/src/pages/sdk/auth-client/functions/useOptionalOcSession.mdx @@ -15,7 +15,7 @@ export const metadata = { function useOptionalOcSession(): OcSessionState | null; ``` -Defined in: [provider.tsx:354](https://github.com/orangecheck/oc-packages/blob/main/auth-client/src/provider.tsx#L354) +Defined in: [provider.tsx:403](https://github.com/orangecheck/oc-packages/blob/main/auth-client/src/provider.tsx#L403) Non-throwing variant — returns `null` if called outside a provider. Useful for libraries that want to read the session *if it exists* but