oc · docs
docs / documentation

@orangecheck/auth-client


@orangecheck/auth-client / OcAccountChipProps

Interface: OcAccountChipProps

Defined in: components.tsx:25

Properties

PropertyTypeDescriptionDefined in
<a id="property-classname"></a> className?stringclassName for the wrapper <div>.components.tsx:45
<a id="property-dashboardurl"></a> dashboardUrl?stringURL to the user's account dashboard. Defaults to https://ochk.io/dashboard, the canonical family target.components.tsx:30
<a id="property-menuitemclassname"></a> menuItemClassName?stringclassName for menu items (dashboard link + sign-out button).components.tsx:51
<a id="property-popoverclassname"></a> popoverClassName?stringclassName for the dropdown popover.components.tsx:49
<a id="property-signinlabel"></a> signInLabel?stringLabel for the sign-in link shown to anonymous visitors. Defaults to sign in.components.tsx:43
<a id="property-signinurl"></a> signInUrl?stringOverride the sign-in URL shown to anonymous visitors. Defaults to the session's signInUrl (which points at the auth host's /signin?return_to=… page). Set this to a local path like '/signin' when the consumer site mounts its own in-place <OcSignIn /> — skips the redirect-bounce entirely.components.tsx:38
<a id="property-triggerclassname"></a> triggerClassName?stringclassName for the trigger pill button.components.tsx:47