Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
- generateKey | importKey |
Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
| const socketio = require('feathers-socketio') | |
| const authOnSocketConnect = require('./authenticate-on-socket-connect') | |
| // ... Setup your Feathers app code or use the generator then replace the socketio registration with this | |
| // When you register the feathers-socketio plugin, use the utility | |
| app.configure(socketio(function (io) { | |
| // Get Socket.io headers | |
| io.on('connection', function (socket) { | |
| authOnSocketConnect({ app, socket }) |