Skip to content

Commit d09e7bb

Browse files
authored
ENG-3842: Include authentication type in MFA Lambda context (#1273)
1 parent 10bad46 commit d09e7bb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • src/main/java/io/fusionauth/domain/lambda/parameters/mfa

src/main/java/io/fusionauth/domain/lambda/parameters/mfa/Context.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public class Context {
3434

3535
public final Set<AuthenticationThreats> authenticationThreats;
3636

37+
public final String authenticationType;
38+
3739
public final EventInfo eventInfo;
3840

3941
public final Trust mfaTrust;
@@ -42,13 +44,15 @@ public class Context {
4244

4345
public Context(EventInfo eventInfo, Set<AuthenticationThreats> authenticationThreats,
4446
Trust mfaTrust, String accessToken,
45-
Policies policies, MultiFactorAction action, Application application) {
47+
Policies policies, MultiFactorAction action, Application application,
48+
String authenticationType) {
4649
this.eventInfo = eventInfo;
4750
this.authenticationThreats = authenticationThreats;
4851
this.mfaTrust = mfaTrust;
4952
this.accessToken = accessToken;
5053
this.policies = policies;
5154
this.action = action;
5255
this.application = application;
56+
this.authenticationType = authenticationType;
5357
}
5458
}

0 commit comments

Comments
 (0)