I had Authy set up before on my Wordpress site, is this possible in Statamic?

Is there a login hook or something I could plug in to? I'm happy to write a hook that deals with it if possible.