@ciscospark/test-helper-appiddeprecated

Test helper for creating App-ID users.

Usage no npm install needed!

<script type="module">
  import ciscosparkTestHelperAppid from 'https://cdn.skypack.dev/@ciscospark/test-helper-appid';
</script>

README

@ciscospark/test-helper-appid

standard-readme compliant

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.