2018-04-26 15:54:53 -07:00
|
|
|
/* jslint node:true */
|
|
|
|
|
/* global it:false */
|
|
|
|
|
/* global describe:false */
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
var accesscontrol = require('../accesscontrol.js'),
|
|
|
|
|
expect = require('expect.js'),
|
2020-02-06 14:50:12 +01:00
|
|
|
HttpError = require('connect-lastmile').HttpError;
|
2018-04-26 15:54:53 -07:00
|
|
|
|
2020-02-06 17:24:50 +01:00
|
|
|
describe('access control middleware', function () {
|
|
|
|
|
describe('passwordAuth', function () {
|
|
|
|
|
// TBD
|
2018-04-26 15:54:53 -07:00
|
|
|
});
|
|
|
|
|
|
2020-02-06 17:24:50 +01:00
|
|
|
describe('tokenAuth', function () {
|
|
|
|
|
// TBD
|
2018-04-26 15:54:53 -07:00
|
|
|
});
|
|
|
|
|
|
2020-02-06 17:24:50 +01:00
|
|
|
describe('authorize', function () {
|
|
|
|
|
// TBD
|
2018-04-26 15:54:53 -07:00
|
|
|
});
|
|
|
|
|
|
2020-02-06 17:24:50 +01:00
|
|
|
describe('websocketAuth', function () {
|
|
|
|
|
// TBD
|
2018-04-26 15:54:53 -07:00
|
|
|
});
|
2019-07-25 15:43:51 -07:00
|
|
|
});
|