DEPRECATED since version 1.45.1 - Do not use this method.
Use this method to set a sessionToken you already obtained.
client.setSessionToken(sessionToken:String);
To obtain a sessionToken see method generateSession.
Name | Type | Description |
---|---|---|
sessionToken | string | Sessin token to be set. |
This method does not have any options.
This method only returns a successful operational message.
client.generateSession().then(function(response){
client.setSessionToken(response.data.sessionToken);
});