1. A mobile phone, comprising: a processor; and memory storing instructions that, when executed by the processor, cause the mobile phone to: obtain a request to authorize a transaction; capture, using a camera on the mobile phone, a two dimensional infrared image of at least a portion of a face of a user interacting with the mobile phone; project a pattern of infrared dots from the mobile phone onto a face of the user; obtain a reflection of at least a subset of the infrared dots using an infrared detector; analyze the reflection of the infrared dots to verify that the user is in proximity of the mobile phone; identify the user based at least in part on the two dimensional infrared image and the reflection of at least a subset of the infrared dots; authenticate the user as a result of the identity of the user being recognized as an authorized user and as a result of the user's face being in the proximity of the mobile phone; and allow a transaction to be performed as a result of the user being authenticated.