Simple PKI Authentication API

Authentication function that verify username and PKI. Call this function when you implements Client SSL authentication. Once your user passed the Client SSL authentication, submit the certificate fingerprint to CENTAGATE to verify the remaining

Below is the URL to access the API functions:

POST /v2/CentagateWS/webresources/auth/authPki

Parameters

NoParametersOccurenceDescription
1usernameRequiredRegistered Username in CENTAGATE Cloud
2CertFingerprintSha1RequiredThe User’ Certificate Fingerprint Is Encoded Using SHA1 And The Result Is Encoded Into Hexadecimal Value. This Is The Certificate That Is Used To Sign The Random String
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 + CertFingerprintSha1 + AuthToken + 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: