This commit is contained in:
@ -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;
|
||||
|
@ -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'
|
||||
});
|
||||
|
Reference in New Issue
Block a user