Skip to content

AuthModule

Module in @evolve-framework/commercetools

Sign-in for commercetools: the guest session, login and logout, password reset and update, and token refresh mutations.

import { AuthModule } from "@evolve-framework/commercetools";

Serves the Authentication part of the GraphQL API: cartMergeUndo, createGuestSession, customerLogin, customerLogout, customerPasswordReset, customerPasswordResetRequest, customerPasswordUpdate, refreshToken.

new AuthModule(options: WithClientFactory & { config: AuthModuleConfig; customTypes?: Pick<CustomTypeKeys, "order"> | undefined; payments?: PaymentRegistry | undefined; })

Extends AbstractModule<CommercetoolsLoaderContext>.

The same module on medusa and sfcc.