Sync Token API

Call this function to synchronize OTP token.

Below is the URL to access the API functions:

PUT /CentagateWS/webresources/token/syncToken/{admin_username}

Parameters

NoNameDesignationEmail
1UsernameRequiredThe User’s Username
2OtpStr1RequiredThe First OTP
3OtpStr2RequiredThe Second OTP
4CenTokenRequiredThe Hmac Value Calculated Using SHA256 With SecretCode As Key And Plain Text From Admin Username + AuthToken

Sample Code

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