0.5.2 • Published 6 years ago

fh-aaa-client v0.5.2

Weekly downloads
22
License
Apache-2.0
Repository
github
Last release
6 years ago

fh-aaa-client

Usage

var config = { protocol : "http|https", host : "somehost:someport, e.g. localhost:8818"};
var aaaClient = require('fh-aaa-client)(config);

See test/fixtures/mockRequest.json for request bodies

canAccess

aaaClient.canAccess(req, function(err, res){
  // res.allowed indicates result
});

filterList

aaaClient.filterList(req, function(err, res){
  // res['business-object-ids'] is an array of IDs with permission to access
});

Runing Tests

make test
0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0-18

9 years ago

0.1.2-17

9 years ago

0.1.1-16

9 years ago

0.1.0-12

10 years ago

0.0.1-11

10 years ago