UNPKG

@kwiz/common

Version:

KWIZ common utilities and helpers for M365 platform

41 lines 1.97 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SPFxAuthTokenType = exports.$AuthenticationModes = exports.AuthenticationModes = exports.$AzureEnvironment = exports.AzureEnvironment = void 0; // eslint-disable-next-line no-shadow 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 || (exports.AzureEnvironment = AzureEnvironment = {})); /** AuthenticationModes enum values for projects that can't use enums (when isolatedModules is true) * @deprecated use AzureEnvironment */ exports.$AzureEnvironment = { Production: 0, PPE: 1, China: 2, Germany: 3, USGovernment: 4, }; // eslint-disable-next-line no-shadow var AuthenticationModes; (function (AuthenticationModes) { AuthenticationModes["Certificate"] = "certificate"; AuthenticationModes["clientSecret"] = "secret"; })(AuthenticationModes || (exports.AuthenticationModes = AuthenticationModes = {})); /** AuthenticationModes enum values for projects that can't use enums (when isolatedModules is true) */ exports.$AuthenticationModes = { Certificate: AuthenticationModes.Certificate, clientSecret: AuthenticationModes.clientSecret, }; 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 || (exports.SPFxAuthTokenType = SPFxAuthTokenType = {})); //# sourceMappingURL=auth.js.map