This commit is contained in:
Denys Vuika
2023-11-17 17:36:30 +00:00
parent 957ab73646
commit e068319b5b
2 changed files with 3 additions and 0 deletions
@@ -83,6 +83,8 @@ export class AppConfigService {
/** /**
* Returns current authentication type as configured via `authType` property. * Returns current authentication type as configured via `authType` property.
*
* @returns authentication type
*/ */
get authType(): 'OAUTH' | 'BASIC' { get authType(): 'OAUTH' | 'BASIC' {
return this.get(AppConfigValues.AUTHTYPE); return this.get(AppConfigValues.AUTHTYPE);
@@ -33,6 +33,7 @@ import { AppConfigService } from '../../app-config/app-config.service';
* *
* @param oAuthService auth service * @param oAuthService auth service
* @param storage storage service * @param storage storage service
* @param appConfig application config
* @param config auth configuration * @param config auth configuration
* @returns a factory function * @returns a factory function
*/ */