express-ims-lti

0.2.4 • Public • Published

express-ims-lti

Build Status

This module provides a way to use the ims-lti module with Express. It is capable of detecting LTI login requests and intelligently restoring an LTI provider instance from an Express session automatically.

Usage

Usage for the module is fairly straightfoward.

var ltiMiddleware = require("express-ims-lti");
 
// ... Construct your application ...
 
app.use(ltiMiddleware({
  consumer_key: "key",       // Required.
  consumer_secret: "secret", // Required.
  store: {                   // Optional.
    type: "redis",           // If store is omitted memory will be used.
    client: redisClient      // Required when using Redis.
  }
}));

Package Sidebar

Install

npm i express-ims-lti

Weekly Downloads

1

Version

0.2.4

License

MIT

Last publish

Collaborators

  • davidkosub