Skip to content

Conversation

cs-raj
Copy link
Contributor

@cs-raj cs-raj commented Aug 19, 2025

version bump: done in #2075

@cs-raj cs-raj requested a review from a team as a code owner August 19, 2025 05:53
@cs-raj cs-raj requested review from shafeeqd959 and aman19K August 19, 2025 05:53

// Create export context object
protected createExportContext(apiKey?: string): Context {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the use of this context, also why are naming this as export context, is this only used while export content

import { authenticator } from 'otplib';
import { MFAConfig, IMFAService } from '../interfaces';

export class MFAService implements IMFAService {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cs-raj why dont we move this common MFA utilities into contentstack utilities and use it here and also use it in auth plugin, so that we can avoid redundant validation code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants