@shout-sdk/session-client
v1.0.1
Published
Shout Session Client.
Downloads
3
Readme
@shout-sdk/session-client
Shout Session Client. Used to create and terminate sessions with the Shout API.
Install
npm install @shout-sdk/session-client
Example Usage
import { SessionClient } from '@shout-sdk/session-client';
const session = await SessionClient.startNew(uasUrl, userCredentials);
const terminationResult = await SessionClient.terminate(uasUrl, session.cookie);