^
^
JavaScript Customer Interaction Services Package

< Back to Package Overview

The Client Session

The Agent's Client Session represents an instance of the Agent on a device.

Retrieve an instance of the Client Session API from the Client SDK package object using:

var clientSession = client.getClientSession();

Client Session Methods

Set Authorization Token

The Authorization Token can be injected using: (using a previously retrieved and created SSO token - see the Auth Tutorial for more information)

clientSession.setToken(token);

Client Session Stop

The Client Session can be manually stopped using:

clientSession.stop();

Client Session Start

The Client Session can be started again using:

clientSession.start();
Feedback

Your feedback has been successfully submitted.

There was a problem submitting your feedback. Please contact your product support representative.

Page Feedback