@spartacus/schematics
Version:
Spartacus schematics
19 lines • 881 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CDC_AUTH_SERVICE_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.CDC_AUTH_SERVICE_MIGRATION = [
{
class: constants_1.CDC_AUTH_SERVICE,
importPath: constants_1.SPARTACUS_CDC,
deprecatedNode: `authorizeWithCustomCdcFlow`,
comment: `// ${constants_1.TODO_SPARTACUS} 'authorizeWithCustomCdcFlow' method was renamed to 'loginWithCustomCdcFlow'.`,
},
{
class: constants_1.CDC_AUTH_SERVICE,
importPath: constants_1.SPARTACUS_CDC,
deprecatedNode: `logout`,
comment: `// ${constants_1.TODO_SPARTACUS} 'logout' method override was removed. Now CDC hooks into logout process, by providing 'CdcLogoutGuard' as 'LogoutGuard'.`,
},
];
//# sourceMappingURL=cdc-auth.service.migration.js.map