fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Timo Hocker 2021-01-05 21:35:45 +01:00
parent 6cf6286fb8
commit 8285e58337
4 changed files with 5 additions and 6 deletions

View File

@ -4,4 +4,4 @@ import create_auth_handler from './AuthHandler';
import blacklist from './Blacklist';
import authority from './Authority';
export default { create_gateway, create_auth_handler, blacklist, authority };
export { create_gateway, create_auth_handler, blacklist, authority };

View File

@ -47,4 +47,4 @@
"engines": {
"node": ">=10.0.0"
}
}
}

View File

@ -9,8 +9,7 @@ import http, { IncomingMessage, ServerResponse } from 'http';
import { to_b64 } from '@sapphirecode/encoding-helper';
import auth from '../../lib/Authority';
import { get, modify_signature, Response } from '../Helper';
import create_auth_handler from '../../lib/AuthHandler';
import { create_auth_handler } from '../../lib/index';
const expires_seconds = 600;
const refresh_expires_seconds = 3600;

View File

@ -6,7 +6,7 @@
*/
import http from 'http';
import gateway from '../../lib/Gateway';
import { create_gateway } from '../../lib/index';
import authority from '../../lib/Authority';
import blacklist from '../../lib/Blacklist';
import { get } from '../Helper';
@ -21,7 +21,7 @@ describe ('gateway', () => {
jasmine.clock ()
.mockDate (new Date);
const g = gateway ({
const g = create_gateway ({
redirect_url: 'http://localhost/auth',
cookie_name: 'cookie_jar'
});