global.authyUsrId;
// send the received data to Twilio Authyauthy.register_user('maverick@example.com', '8753565612', '91', function(err, res){
//global.authyUsr
我试图在PHP中为Authy运行一个演示。我已经在Composer中安装了Authy库,所以现在我可以使用以下硬编码值注册用户:
$authy_api = new Authy\AuthyApi('<TESTING API KEY>', 'http://sandbox-api.authy.com'); // actual key omitted -- using the key generated for testi