OTP Authentication API

This authentication functions to verify the username with the OTP combination.

Below is the URL to access the API functions:

Parameters

POST /v2/CentagateWS/webresources/auth/authOtp
NoParametersOccurenceDescriptions
1usernameRequiredRegistered Username In CENTAGATE Cloud.
2DevAccIdOptionalThe Device Account IDs.
3OtpRequiredThe Generated OTP Code.
4AuthTokenOptionalThe Previous Generated AuthToken.
5IntegrationKeyRequiredIntegration Key Of The App That The User Wants To Authenticate
6UnixTimestampRequiredCurrent Time In Unixtimestamp.
7SupportFidoOptionalFIDO Authentication Option, Pass True To Enable And False To Disable. Or Leave It Empty.
8IpAddressOptionalIP Address From Where The Authentication Request Is Originated.
9UserAgentOptionalPlatform Information Of Authentication Request Is Made Of.
10BrowserFpOptionalBrowser Fingerprint.
11HMACRequiredHmac Generated From Combination (Username + DevAccId + Otp + UserAgent + IntegrationKey + SupportFido + BrowserFp + UnixTimeStamp + AuthToken + 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: