Module

casSetup

Calls cas server and returns the results(async)

Parameters:
Name Type Attributes Description
store store

restaf store

logonPayload logonPayload

if not null, then use this to logon to Viya

sessionID string <optional>

id of an existing session to attach.

returns an object {session: xxx, servers: yyy}

promise
Example
const {servers, session} = await casSetup(storem logonPayload, <sessionID>)