licitly

adverb
1
in a way that is allowed or legal
به‌طور قانونی, به‌طور مجاز, به‌طور مشروع, قانوناً
opposite illicitly