@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 with
app.use('/jwt', require('@ciscospark/test-helper-appid').router);
Maintainers
This package is maintained by Cisco Webex for Developers.
Contribute
Pull requests welcome. Please see CONTRIBUTING.md for more details.
License
© 2016-2018 Cisco and/or its affiliates. All Rights Reserved.