Security Question Authentication API

Authentication function that verify username and security question. User has to request a list of question that needs to be answered before call this function.

Below is the URL to access the API functions:

POST /v2/CentagateWS/webresources/auth/authQna

Parameters

NoParametersOccurenceDescription
1usernameRequiredRegistered Username in CENTAGATE Cloud
2dataRequiredBase64 Encoded Of The List Of Questions And Answer. The Format For Each Question And Answer Is: QuestionID:Answer Separated By Comma. Example: 1:Hello World,2:Foo123 Will Be Sent As MTpIZWxsbyB3b3JsZA==,MjpGb28xMjM=
3integrationKeyRequiredIntegration Key Of The App That The User Wants To Authenticate
4unixTimestamp​RequiredCurrent Time in UnixTimestamp
5supportFidoOptionalFIDO Authentication Option, Pass True To Enable And False To Disable. Or Leave It Empty
6ipAddressOptionalIP Address From Where The Authentication Request Is Originated.
7userAgentOptionalPlatform Information Of Authentication Request Is Made Of.
8browserFpOptionalBrower Fingerprint
9hmacRequiredHmac Generated From Combination (Username + Data + 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: