Username and Password Authentication API

Username and Password are compulsory for the authentication in CENTAGATE Cloud.

Below is the URL to access the API functions:

POST /v2/CentagateWS/webresources/auth/authBasic

Parameters

NoParametersOccurenceDescription
1usernameRequiredRegistered Username in CENTAGATE Cloud
2passwordRequiredThe user's password that registered in CENTAGATE Cloud
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 + Password + 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: