Refactor of authentication code. Added configuration file selectable authentication method. Selectable from built-in Azure Identity, and custom PCA using MSAL.
Some checks failed
build / build (push) Failing after 14s
Some checks failed
build / build (push) Failing after 14s
This commit is contained in:
11
src/types.ts
Normal file
11
src/types.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
export type AuthConfig = {
|
||||
tenantId: string;
|
||||
clientId: string;
|
||||
};
|
||||
|
||||
export type Config = {
|
||||
activeAccountUpn: string | undefined;
|
||||
authMode: string;
|
||||
};
|
||||
Reference in New Issue
Block a user