From 45f1fd4a582c1b09a575e95ec5bc1116507f1008 Mon Sep 17 00:00:00 2001 From: dremond Date: Sun, 28 Apr 2019 01:47:34 -0400 Subject: [PATCH] chore: restore 2 files to originals restore 2 files to originals --- .../acceptance/basic-auth.acceptance.ts | 28 +++++++++---------- .../src/providers/authentication.provider.ts | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/authentication/src/__tests__/acceptance/basic-auth.acceptance.ts b/packages/authentication/src/__tests__/acceptance/basic-auth.acceptance.ts index 56a4ccd52d3a..ead46e7d467d 100644 --- a/packages/authentication/src/__tests__/acceptance/basic-auth.acceptance.ts +++ b/packages/authentication/src/__tests__/acceptance/basic-auth.acceptance.ts @@ -3,33 +3,33 @@ // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT -import {inject, Provider, ValueOrPromise} from '@loopback/context'; import {Application} from '@loopback/core'; -import {anOpenApiSpec} from '@loopback/openapi-spec-builder'; -import {api, get} from '@loopback/openapi-v3'; import { + RestBindings, + ParseParams, FindRoute, InvokeMethod, - ParseParams, - Reject, - RequestContext, - RestBindings, - RestComponent, - RestServer, Send, + Reject, SequenceHandler, + RestServer, + RestComponent, + RequestContext, } from '@loopback/rest'; +import {api, get} from '@loopback/openapi-v3'; import {Client, createClientForHandler} from '@loopback/testlab'; -import {Strategy} from 'passport'; -import {BasicStrategy} from 'passport-http'; +import {anOpenApiSpec} from '@loopback/openapi-spec-builder'; +import {inject, Provider, ValueOrPromise} from '@loopback/context'; import { authenticate, - AuthenticateFn, + UserProfile, AuthenticationBindings, - AuthenticationComponent, + AuthenticateFn, AuthenticationMetadata, - UserProfile, + AuthenticationComponent, } from '../..'; +import {Strategy} from 'passport'; +import {BasicStrategy} from 'passport-http'; const SequenceActions = RestBindings.SequenceActions; diff --git a/packages/authentication/src/providers/authentication.provider.ts b/packages/authentication/src/providers/authentication.provider.ts index 9c5a0dbbaf21..069075927906 100644 --- a/packages/authentication/src/providers/authentication.provider.ts +++ b/packages/authentication/src/providers/authentication.provider.ts @@ -3,7 +3,7 @@ // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT -import {Getter, inject, Provider, Setter} from '@loopback/context'; +import {Getter, Provider, Setter, inject} from '@loopback/context'; import {Request} from '@loopback/rest'; import {Strategy} from 'passport'; import {AuthenticationBindings} from '../keys';