McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 546

↗ View in doc context
page
546
source
finesse/v12.5/developer-guide/developer-guide.md
chunk_id
finesse::v12.5::developer-guide::developer-guide::530

Required Description Type Name Yes The configuration data which is either the finesse.container.Config or finesse.gadget.Config. For more information on gadget configuration, see Gadget Configuration, on page 446. Object configObj Returns {String} The authorization header based on SSO or non-SSO deployment. For example, SSO: Bearer MTAwMTAwMjpjaXNjbw== NON-SSO: Basic MTAwMTAwMjpjaXNjbw== getAuthModes() Retrieves the constant for authentication modes. The modes are SSO, NON_SSO, or HYBRID. Example finesse.utilities.Utilities.getAuthModes() Returns {String} The constant for authentication modes, that is SSO, NON_SSO, or HYBRID. getAuthTokenObj() Retrieves the user access token as JSON Object. Example finesse.utilities.Utilities.getAuthTokenObj() Returns {Object} A user access token as the JSON object in SSO mode and null in non-SSO mode. getCurrentDrift() Retrieves the current timestamp difference between the client and server. Example finesse.utilities.Utilities.getCurrentDrift() Returns {Integer} The timestamp difference between the client and server. If it cannot be calculated, then it returns 0. getDisplayTime(time) Retrieves the timestamp value from milliseconds to the HH:MM:SS format. Example finesse.utilities.Utilities.getDisplayTime(60000) Parameters Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 530 Cisco Finesse JavaScript APIs Utilities