UNPKG

zcrmsdk

Version:
21 lines (18 loc) 550 B
/** * This class verifies and sets token to APIHTTPConnector instance. */ class Token{ /** * This method is to set authentication token to APIHTTPConnector instance. * @param {APIHTTPConnector} urlConnection - A APIHTTPConnector class instance. * @throws {SDKException} */ authenticate(urlConnection){} /** * The method to remove the token from store. * @returns {Boolean} - A Boolean value representing the removed status. * @throws {SDKException} */ remove() {} } module.exports={Token};