SMS OTP Authentication API

This authentications functions to verify the username and SMS OTP combination. The user has to request SMS OTP before call this functions.

Below is the URL to access the API functions:

POST /v2/CentagateWS/webresources/auth/authSmsOtp

Parameters

NoParameterOccurenceDescriptions
1usernameRequiredRegister Username in CENTAGATE Cloud
2SMSOTPRequiredThe User's SMS OTP Will Be Provide To User's Phone Number Through SMS
3authTokenOptionalThe Previous Generated AuthToken.
4integrationKeyRequiredIntegration Key Of The App That The User Wants To Authenticate.
5unixTimestampRequiredCurrent Time In Unixtimestamp.
6supportFidoOptionalFIDO Authentication Option, Pass True To Enable And False To Disable. Or Leave It Empty.
7IpAddressOptionalIP Address From Where The Authentication Request Is Originated.
8userAgentOptional Platform Information Of Authentication Request Is Made Of.
10BrowserFpOptionalBrowser Fingerprint.
11HMACRequiredHmac Generated From Combination (Username + SMSOTP + UserAgent + IntegrationKey + SupportFido + BrowserFp + UnixTimeStamp + IpAddress) Using Secretkey (Can Be Obtained From The App Page) As The Key.

Sample Code

As in below there are some examples of source code of access the API functions: