Skip to content

A Node.js npm module to decode Salesforce signed-request from Salesforce Canvas

Notifications You must be signed in to change notification settings

thataustin/salesforce-signed-request

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salesforce-signed-request

####A Node.js npm module to decode Salesforce signed-request from Salesforce Canvas

Build Status

![image](https://raw.github.com/rajaraodv/salesforce-signed-request/master/signed-request.jpg)

Usage

This library exports a single function to decode the signed request.

 
 var decode = require('salesforce-signed-request');
 
 //json will have Salesforce context
 var json = decode('YOUR_SIGNED_REQUEST', 'API_SECRET');
 

Test

  1. Install Mocha, expect, chai & should by running npm install
  2. You may want to install Mocha globally by running npm install -g mocha
  3. Simply run mocha in the command line.

License

MIT

About

A Node.js npm module to decode Salesforce signed-request from Salesforce Canvas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.9%
  • Makefile 14.1%