refactor: make config auth provides be optional

This commit is contained in:
Rainer Killinger
2022-01-20 14:18:50 +01:00
parent 4f758f7d0c
commit 972cdf392d
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ export interface SCAuthorizationProviderEndpoints {
authorization: string; authorization: string;
/** /**
* An authorization provider endpoints configuration * URL to end current session
*/ */
endSession?: string; endSession?: string;

View File

@@ -31,7 +31,7 @@ export interface SCConfigFile {
/** /**
* Configuration for the supported authorization providers * Configuration for the supported authorization providers
*/ */
auth: { [key in SCAuthorizationProviderType]: SCAuthorizationProvider; }; auth: { [key in SCAuthorizationProviderType]?: SCAuthorizationProvider; };
/** /**
* Configuration for the backend that is visible to clients * Configuration for the backend that is visible to clients