Node Dyalna Identity
Security Middleware
Installation
- npm install node-dyalna-identity
Usage
var identity = ;var request = ; var express = ;var app = ; // Add the security middlewarevar identityHost = 'http://localhost:4000';var identityToken = 'x-dyalna-auth-token'; app; // Protected routesapp; // Authorisationapp;