0.2.4 • Published 9 years ago
express-ims-lti v0.2.4
express-ims-lti
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.
}
}));