diff --git a/management/management.gen.go b/management/management.gen.go index 43a2dee1..755ff677 100644 --- a/management/management.gen.go +++ b/management/management.gen.go @@ -9161,6 +9161,14 @@ func (t *TenantFlags) GetAllowLegacyTokenInfoEndpoint() bool { return *t.AllowLegacyTokenInfoEndpoint } +// GetCustomizeMFAInPostLoginAction returns the CustomizeMFAInPostLoginAction field if it's non-nil, zero value otherwise. +func (t *TenantFlags) GetCustomizeMFAInPostLoginAction() bool { + if t == nil || t.CustomizeMFAInPostLoginAction == nil { + return false + } + return *t.CustomizeMFAInPostLoginAction +} + // GetDashboardInsightsView returns the DashboardInsightsView field if it's non-nil, zero value otherwise. func (t *TenantFlags) GetDashboardInsightsView() bool { if t == nil || t.DashboardInsightsView == nil { diff --git a/management/management.gen_test.go b/management/management.gen_test.go index 7bb436a8..849602e9 100644 --- a/management/management.gen_test.go +++ b/management/management.gen_test.go @@ -11533,6 +11533,16 @@ func TestTenantFlags_GetAllowLegacyTokenInfoEndpoint(tt *testing.T) { t.GetAllowLegacyTokenInfoEndpoint() } +func TestTenantFlags_GetCustomizeMFAInPostLoginAction(tt *testing.T) { + var zeroValue bool + t := &TenantFlags{CustomizeMFAInPostLoginAction: &zeroValue} + t.GetCustomizeMFAInPostLoginAction() + t = &TenantFlags{} + t.GetCustomizeMFAInPostLoginAction() + t = nil + t.GetCustomizeMFAInPostLoginAction() +} + func TestTenantFlags_GetDashboardInsightsView(tt *testing.T) { var zeroValue bool t := &TenantFlags{DashboardInsightsView: &zeroValue} diff --git a/management/tenant.go b/management/tenant.go index 2eea1f53..85d73d49 100644 --- a/management/tenant.go +++ b/management/tenant.go @@ -250,6 +250,9 @@ type TenantFlags struct { // If `true`, all Clients will be required to use Pushed Authorization Requests. // This feature currently must be enabled for your tenant. RequirePushedAuthorizationRequests *bool `json:"require_pushed_authorization_requests,omitempty"` + + // If `true`, flexible factors will be enabled for MFA in the PostLogin action. + CustomizeMFAInPostLoginAction *bool `json:"customize_mfa_in_postlogin_action,omitempty"` } // TenantUniversalLogin holds universal login settings.