@ciscospark/test-helper-appid
Test helper for creating App-ID users.
Install
npm install --save @ciscospark/test-helper-appid
Usage
testHelperAppId.createUser(options)
Wrapper around router which will will make an API call from a web browser or directly invoke jsonwebtoken
in node. Only required option is displayName
.testHelperAppId.router
Express router which will create a JWT from a POST request. Only required body parameter is displayName
. Use withapp.use('/jwt', require('@ciscospark/test-helper-appid').router);