How to enable login with email link or otp only for users of particular role or of particular site

I want to enable login with email link or otp
after some reserach I found we can achieve this by changing system settings


but my requirement is that can i enable this functionality only to users of particular role or creating a new site and users of this site should be logged in using email link or otp