You can get the state for a user:
php occ twofactorauth:state user
And you get the right provider names. I’m not sure if you can disable all providers if you enforce the use of 2FA.
You can get the state for a user:
php occ twofactorauth:state user
And you get the right provider names. I’m not sure if you can disable all providers if you enforce the use of 2FA.