UpdateLoginPolicyRequest constructor
UpdateLoginPolicyRequest({
- bool? allowUsernamePassword,
- bool? allowRegister,
- bool? allowExternalIdp,
- bool? forceMfa,
- PasswordlessType? passwordlessType,
- bool? hidePasswordReset,
- bool? ignoreUnknownUsernames,
- String? defaultRedirectUri,
- Duration? passwordCheckLifetime,
- Duration? externalLoginCheckLifetime,
- Duration? mfaInitSkipLifetime,
- Duration? secondFactorCheckLifetime,
- Duration? multiFactorCheckLifetime,
- bool? allowDomainDiscovery,
- bool? disableLoginWithEmail,
- bool? disableLoginWithPhone,
- bool? forceMfaLocalOnly,
Implementation
factory UpdateLoginPolicyRequest({
$core.bool? allowUsernamePassword,
$core.bool? allowRegister,
$core.bool? allowExternalIdp,
$core.bool? forceMfa,
$7.PasswordlessType? passwordlessType,
$core.bool? hidePasswordReset,
$core.bool? ignoreUnknownUsernames,
$core.String? defaultRedirectUri,
$5.Duration? passwordCheckLifetime,
$5.Duration? externalLoginCheckLifetime,
$5.Duration? mfaInitSkipLifetime,
$5.Duration? secondFactorCheckLifetime,
$5.Duration? multiFactorCheckLifetime,
$core.bool? allowDomainDiscovery,
$core.bool? disableLoginWithEmail,
$core.bool? disableLoginWithPhone,
$core.bool? forceMfaLocalOnly,
}) {
final result = create();
if (allowUsernamePassword != null)
result.allowUsernamePassword = allowUsernamePassword;
if (allowRegister != null) result.allowRegister = allowRegister;
if (allowExternalIdp != null) result.allowExternalIdp = allowExternalIdp;
if (forceMfa != null) result.forceMfa = forceMfa;
if (passwordlessType != null) result.passwordlessType = passwordlessType;
if (hidePasswordReset != null) result.hidePasswordReset = hidePasswordReset;
if (ignoreUnknownUsernames != null)
result.ignoreUnknownUsernames = ignoreUnknownUsernames;
if (defaultRedirectUri != null)
result.defaultRedirectUri = defaultRedirectUri;
if (passwordCheckLifetime != null)
result.passwordCheckLifetime = passwordCheckLifetime;
if (externalLoginCheckLifetime != null)
result.externalLoginCheckLifetime = externalLoginCheckLifetime;
if (mfaInitSkipLifetime != null)
result.mfaInitSkipLifetime = mfaInitSkipLifetime;
if (secondFactorCheckLifetime != null)
result.secondFactorCheckLifetime = secondFactorCheckLifetime;
if (multiFactorCheckLifetime != null)
result.multiFactorCheckLifetime = multiFactorCheckLifetime;
if (allowDomainDiscovery != null)
result.allowDomainDiscovery = allowDomainDiscovery;
if (disableLoginWithEmail != null)
result.disableLoginWithEmail = disableLoginWithEmail;
if (disableLoginWithPhone != null)
result.disableLoginWithPhone = disableLoginWithPhone;
if (forceMfaLocalOnly != null) result.forceMfaLocalOnly = forceMfaLocalOnly;
return result;
}