#1370 Removed deprecated AlfrescoAuthenticationService

This commit is contained in:
mauriziovitale84
2017-01-04 14:30:01 +00:00
parent 58af422d62
commit 896c57fa53
25 changed files with 56 additions and 56 deletions

View File

@@ -18,7 +18,7 @@
import { NgModule, Component } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { CoreModule, SettingsService, AlfrescoAuthenticationService, StorageService } from 'ng2-alfresco-core';
import { CoreModule, SettingsService, AuthService, StorageService } from 'ng2-alfresco-core';
import { ViewerModule } from 'ng2-alfresco-viewer';
@Component({
@@ -54,7 +54,7 @@ class MyDemoApp {
ticket: string;
constructor(private authService: AlfrescoAuthenticationService,
constructor(private authService: AuthService,
private settingsService: SettingsService,
private storage: StorageService) {
settingsService.ecmHost = this.ecmHost;

View File

@@ -19,7 +19,7 @@ import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { ImgViewerComponent } from './imgViewer.component';
import { DebugElement } from '@angular/core';
import {
AlfrescoAuthenticationService,
AuthService,
SettingsService,
AlfrescoApiService,
CoreModule
@@ -40,7 +40,7 @@ describe('Test ng2-alfresco-viewer Img viewer component ', () => {
declarations: [ImgViewerComponent],
providers: [
SettingsService,
AlfrescoAuthenticationService,
AuthService,
AlfrescoApiService
]
}).compileComponents();

View File

@@ -19,7 +19,7 @@ import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { MediaPlayerComponent } from './mediaPlayer.component';
import { DebugElement } from '@angular/core';
import {
AlfrescoAuthenticationService,
AuthService,
SettingsService,
AlfrescoApiService,
CoreModule
@@ -40,7 +40,7 @@ describe('Test ng2-alfresco-viewer Media player component ', () => {
declarations: [MediaPlayerComponent],
providers: [
SettingsService,
AlfrescoAuthenticationService,
AuthService,
AlfrescoApiService
]
}).compileComponents();

View File

@@ -19,7 +19,7 @@ import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { NotSupportedFormat } from './notSupportedFormat.component';
import { DebugElement } from '@angular/core';
import {
AlfrescoAuthenticationService,
AuthService,
SettingsService,
AlfrescoApiService,
CoreModule
@@ -40,7 +40,7 @@ describe('Test ng2-alfresco-viewer Not Supported Format View component', () => {
declarations: [NotSupportedFormat],
providers: [
SettingsService,
AlfrescoAuthenticationService,
AuthService,
AlfrescoApiService
]
}).compileComponents();

View File

@@ -21,7 +21,7 @@ import { PdfViewerComponent } from './pdfViewer.component';
import { EventMock } from '../assets/event.mock';
import { DebugElement } from '@angular/core';
import {
AlfrescoAuthenticationService,
AuthService,
SettingsService,
AlfrescoApiService,
CoreModule
@@ -42,7 +42,7 @@ describe('Test ng2-alfresco-viewer PdfViewer component', () => {
declarations: [PdfViewerComponent],
providers: [
SettingsService,
AlfrescoAuthenticationService,
AuthService,
AlfrescoApiService,
RenderingQueueServices
]

View File

@@ -25,7 +25,7 @@ import { ViewerComponent } from './viewer.component';
import { EventMock } from '../assets/event.mock';
import { DebugElement } from '@angular/core';
import {
AlfrescoAuthenticationService,
AuthService,
SettingsService,
AlfrescoApiService,
CoreModule
@@ -54,7 +54,7 @@ describe('Test ng2-alfresco-viewer ViewerComponent', () => {
],
providers: [
SettingsService,
AlfrescoAuthenticationService,
AuthService,
AlfrescoApiService,
RenderingQueueServices
]