feat: extend config to describe auth providers

This commit is contained in:
Rainer Killinger
2021-12-23 13:09:10 +01:00
parent 322c001e70
commit 7553620a5d
4 changed files with 169 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
*/
import {SCLicensePlate} from '../general/namespaces';
import {SCAppConfiguration} from './app';
import {SCAuthorizationProvider, SCAuthorizationProviderType} from './authorization';
import {SCBackendConfiguration, SCBackendInternalConfiguration} from './backend';
/**
@@ -27,6 +28,11 @@ export interface SCConfigFile {
*/
app: SCAppConfiguration;
/**
* Configuration for the supported authorization providers
*/
auth: { [key in SCAuthorizationProviderType]: SCAuthorizationProvider; };
/**
* Configuration for the backend that is visible to clients
*/