Whatsapp like auth

What is the best way to have mobile number verification and protect other views until auth is not done ?? I just have one time mobile number verification and nothing other login logout stuff !