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 aman19K and shafeeqd959 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.

@cs-raj
Copy link
Contributor Author

cs-raj commented Sep 10, 2025

Closing the PR since the changes will be going later

@cs-raj cs-raj closed this Sep 10, 2025
@cs-raj cs-raj deleted the feat/DX-3414-2 branch September 10, 2025 08:49
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.

3 participants