Skip to content

Commit

Permalink
ATO-1248: Add AuthSession To UserContext - VerifyMfaCodeHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminWCO committed Dec 9, 2024
1 parent 8474966 commit 70799fb
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ public class VerifyMfaCodeHandler extends BaseFrontendHandler<VerifyMfaCodeReque
private final MfaCodeProcessorFactory mfaCodeProcessorFactory;
private final CloudwatchMetricsService cloudwatchMetricsService;
private final AuthenticationAttemptsService authenticationAttemptsService;
private final AuthSessionService authSessionService;

public VerifyMfaCodeHandler(
ConfigurationService configurationService,
Expand All @@ -97,6 +96,7 @@ public VerifyMfaCodeHandler(
VerifyMfaCodeRequest.class,
configurationService,
sessionService,
authSessionService,
clientSessionService,
clientService,
authenticationService);
Expand All @@ -105,7 +105,6 @@ public VerifyMfaCodeHandler(
this.mfaCodeProcessorFactory = mfaCodeProcessorFactory;
this.cloudwatchMetricsService = cloudwatchMetricsService;
this.authenticationAttemptsService = authenticationAttemptsService;
this.authSessionService = authSessionService;
}

public VerifyMfaCodeHandler() {
Expand All @@ -126,7 +125,6 @@ public VerifyMfaCodeHandler(ConfigurationService configurationService) {
this.cloudwatchMetricsService = new CloudwatchMetricsService(configurationService);
this.authenticationAttemptsService =
new AuthenticationAttemptsService(configurationService);
this.authSessionService = new AuthSessionService(configurationService);
}

public VerifyMfaCodeHandler(
Expand All @@ -144,7 +142,6 @@ public VerifyMfaCodeHandler(
this.cloudwatchMetricsService = new CloudwatchMetricsService(configurationService);
this.authenticationAttemptsService =
new AuthenticationAttemptsService(configurationService);
this.authSessionService = new AuthSessionService(configurationService);
}

@Override
Expand Down

0 comments on commit 70799fb

Please sign in to comment.