AddCustomLockoutPolicyRequest constructor

AddCustomLockoutPolicyRequest({
  1. int? maxPasswordAttempts,
  2. int? maxOtpAttempts,
})

Implementation

factory AddCustomLockoutPolicyRequest({
  $core.int? maxPasswordAttempts,
  $core.int? maxOtpAttempts,
}) {
  final result = create();
  if (maxPasswordAttempts != null)
    result.maxPasswordAttempts = maxPasswordAttempts;
  if (maxOtpAttempts != null) result.maxOtpAttempts = maxOtpAttempts;
  return result;
}