Developers

SetSessionToken

Caution

DEPRECATED since version 1.45.1 - Do not use this method.

Usage

Use this method to set a sessionToken you already obtained.

client.setSessionToken(sessionToken:String);

To obtain a sessionToken see method generateSession.

Mandatory parameters

Name Type Description
sessionToken string Sessin token to be set.

Options

This method does not have any options.

Response data format

This method only returns a successful operational message.

Example

client.generateSession().then(function(response){
    client.setSessionToken(response.data.sessionToken);
});