8000 GitHub - hemanshu95/SecureTM: An API for mobile number verification by sending OTP on to be verified phone using ways2sms.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hemanshu95/SecureTM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The server has been closed. We are sorry for inconvinience. Feel free to contact us for more details. #SecureTM API server http://52.36.24.247/#

#SecureTM:# SecureTM is a fast and secure way for developers to implement mobile number verification functionality in their websites for better authentication of users.

#Live demo:# The API server is live at a linux virtual machine on amazon EC2. check out this link for quick demo: http://52.36.24.247/

#How to set up:#

<div id="SecureTM_window"></div>
<script type="text/javascript"  src="http://52.36.24.247/javascripts/g1.js"></script>

Adding this two lines of code is all you need to setup SecureTM. To test this yourself, first create a web server in any platform of your choice and add the above code to required html file. ###Warning:### It is important to create a server, because XmlHttpRequests wont work with file protocol.

#How does SecureTM work?# The SecureTM script automatically inject the code in the given html div tag and makes xmlHttpRequests to the server API on user interaction. Internally, SecureTM uses way2sms site for sending otp sms.

###API:###

POST request to http://52.36.24.247/SecureTM/sendOTP with mobileNo=xxxxxxxxxx for sending OTP.

POST request to http://52.36.24.247/SecureTM/resendOTP with mobileNo=xxxxxxxxxx for resending OTP.

POST request to http://52.36.24.247/SecureTM/verifyOTP with mobileNo=xxxxxxxxxx & otp=xxxxxx for verifying OTP.

The response is returned in JSON format.

Mongodb database is used at the server for storing otp - mobile no. pair.

The requests and responses are managed by the SecureTM script.

On successful verification,on_securetm_otp_verify_success() callback is called.

#Contact:#

About

An API for mobile number verification by sending OTP on to be verified phone using ways2sms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0