GoEasy-OTP > 如何使用GoEasy-OTP?
secret key:86726e4356dce2d3
系统毫秒数:0001490325990593
GoEasy-otp:+rOKqbTZioistsdMrhon0A==
var goEasy = GoEasy.getInstance({
host: 'hangzhou.goeasy.io',
appkey: '您的Client key'
});
goEasy.connect({
otp:'您服务器端生成的OTP',
onSuccess: function () { //连接成功
console.log("GoEasy connect successfully.") //连接成功
},
onFailed: function (error) { //连接失败
console.log("Failed to connect GoEasy, code:"+error.code+ ",error:"+error.content);
},
onProgress:function(attempts) { //连接或自动重连中
console.log("GoEasy is connecting", attempts);
}
});
什么是GoEasy-OTP?
如何使用GoEasy-OTP?
验证GoEasy-OTP生成结果
Java生成GoEasy-OTP
PHP生成GoEasy-OTP
Python生成GoEasy-OTP
Ruby生成GoEasy-OTP
C#生成GoEasy-OTP