AuthBridge
●cart · /next·interface
Pluggable identity bridge for update-buyer-identity mutations in
. Wire this to your auth session source so the
cart layer can attach the active buyer without depending on a specific auth
library.
Properties
PROPTYPEDESCRIPTION
resolve
unknown
Example
const authBridge: AuthBridge = {
resolve: async () => ({ email: 'buyer@example.com' }),
};Related
CartIdStorage CreateTypedCartActionsOpts FormCartActions HttpOnlyCookieStorageOpts NextEventBridge TypedCartActions NextEventBridgeHandlers createCartEnsurer
MetadataOpen in GitHub ↗