UNPKG

@kwiz/common

Version:

KWIZ common utilities and helpers for M365 platform

38 lines 1.68 kB
// eslint-disable-next-line no-shadow export var AzureEnvironment; (function (AzureEnvironment) { AzureEnvironment[AzureEnvironment["Production"] = 0] = "Production"; AzureEnvironment[AzureEnvironment["PPE"] = 1] = "PPE"; AzureEnvironment[AzureEnvironment["China"] = 2] = "China"; AzureEnvironment[AzureEnvironment["Germany"] = 3] = "Germany"; AzureEnvironment[AzureEnvironment["USGovernment"] = 4] = "USGovernment"; })(AzureEnvironment || (AzureEnvironment = {})); /** AuthenticationModes enum values for projects that can't use enums (when isolatedModules is true) * @deprecated use AzureEnvironment */ export const $AzureEnvironment = { Production: 0, PPE: 1, China: 2, Germany: 3, USGovernment: 4, }; // eslint-disable-next-line no-shadow export var AuthenticationModes; (function (AuthenticationModes) { AuthenticationModes["Certificate"] = "certificate"; AuthenticationModes["clientSecret"] = "secret"; })(AuthenticationModes || (AuthenticationModes = {})); /** AuthenticationModes enum values for projects that can't use enums (when isolatedModules is true) */ export const $AuthenticationModes = { Certificate: AuthenticationModes.Certificate, clientSecret: AuthenticationModes.clientSecret, }; export var SPFxAuthTokenType; (function (SPFxAuthTokenType) { SPFxAuthTokenType[SPFxAuthTokenType["Outlook"] = 0] = "Outlook"; SPFxAuthTokenType[SPFxAuthTokenType["SharePoint"] = 1] = "SharePoint"; SPFxAuthTokenType[SPFxAuthTokenType["Graph"] = 2] = "Graph"; SPFxAuthTokenType[SPFxAuthTokenType["MySite"] = 3] = "MySite"; })(SPFxAuthTokenType || (SPFxAuthTokenType = {})); //# sourceMappingURL=auth.js.map