Auth

Customer authentication scoped to a store. Routes live under `/store/:storeCode/auth/...`; the actor type is always customer. Use `sdk.store.auth` for storefront customers — not root `sdk.auth`, which is for platform admin (`user`) and vendor (`member`) actors. In session mode (`auth.type: "session"`), the SDK exchanges the JWT for a cookie via `POST /auth/session`; use `sdk.auth.logout()` and `sdk.auth.refresh()` for shared session lifecycle.

sdk.store.auth · @aiminaabeejs/js-sdk