-
parse signed request to payload
```javascript var parse = require('@sodalife/signed-request').parse var payload = parse(signedRequest, process.env.CLIENT_SECRET) console.log(payload) ```
-
stringify payload to signed request
```javascript var stringify = require('@sodalife/signed-request').stringify var signedRequest = stringify(payload, process.env.CLIENT_SECRET) console.log(signedRequest) ```
-
Notifications
You must be signed in to change notification settings - Fork 0
sodalife/node-signed-request
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published