1
0

71504: short-lived token for downloading files through FileService

This commit is contained in:
Kristof De Langhe
2020-06-19 17:26:11 +02:00
parent 5cef15eb20
commit bbaaaed4b5
7 changed files with 97 additions and 17 deletions

View File

@@ -145,6 +145,7 @@ import { Version } from './shared/version.model';
import { VersionHistory } from './shared/version-history.model';
import { WorkflowActionDataService } from './data/workflow-action-data.service';
import { WorkflowAction } from './tasks/models/workflow-action-object.model';
import { TokenResponseParsingService } from './auth/token-response-parsing.service';
/**
* When not in production, endpoint responses can be mocked for testing purposes
@@ -264,6 +265,7 @@ const PROVIDERS = [
LicenseDataService,
ItemTypeDataService,
WorkflowActionDataService,
TokenResponseParsingService,
// register AuthInterceptor as HttpInterceptor
{
provide: HTTP_INTERCEPTORS,