@nsshunt/stsoauth2plugin 1.0.170 → 1.0.172

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -24,18 +24,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  //#endregion
25
25
  let vue = require("vue");
26
26
  let node_worker_threads = require("node:worker_threads");
27
- node_worker_threads = __toESM(node_worker_threads);
27
+ node_worker_threads = __toESM(node_worker_threads, 1);
28
28
  let _nsshunt_stsutils = require("@nsshunt/stsutils");
29
29
  let _nsshunt_stsvueutils = require("@nsshunt/stsvueutils");
30
30
  let pinia = require("pinia");
31
31
  let _nsshunt_stsinstrumentmanagerclient = require("@nsshunt/stsinstrumentmanagerclient");
32
32
  let axios = require("axios");
33
- axios = __toESM(axios);
33
+ axios = __toESM(axios, 1);
34
34
  let _nsshunt_stsobservability = require("@nsshunt/stsobservability");
35
35
  let node_http = require("node:http");
36
- node_http = __toESM(node_http);
36
+ node_http = __toESM(node_http, 1);
37
37
  let node_https = require("node:https");
38
- node_https = __toESM(node_https);
38
+ node_https = __toESM(node_https, 1);
39
39
  //#region src/stsPluginKeys.ts
40
40
  var STSOAuth2ManagerPluginKey = Symbol();
41
41
  //#endregion
@@ -374,6 +374,34 @@ Object.defineProperties(createChalk.prototype, styles);
374
374
  var chalk = createChalk();
375
375
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
376
376
  //#endregion
377
+ //#region src/commonTypes.ts
378
+ var OAuth2ParameterType = /* @__PURE__ */ function(OAuth2ParameterType) {
379
+ OAuth2ParameterType["AUDIENCE"] = "AUDIENCE";
380
+ OAuth2ParameterType["CLIENT_ID"] = "client_id";
381
+ OAuth2ParameterType["CLIENT_SECRET"] = "client_secret";
382
+ OAuth2ParameterType["RESPONSE_TYPE"] = "response_type";
383
+ OAuth2ParameterType["SCOPE"] = "scope";
384
+ OAuth2ParameterType["STATE"] = "state";
385
+ OAuth2ParameterType["REDIRECT_URI"] = "redirect_uri";
386
+ OAuth2ParameterType["ERROR"] = "error";
387
+ OAuth2ParameterType["ERROR_DESCRIPTION"] = "error_description";
388
+ OAuth2ParameterType["ERROR_CODES"] = "error_codes";
389
+ OAuth2ParameterType["ERROR_URI"] = "error_uri";
390
+ OAuth2ParameterType["GRANT_TYPE"] = "grant_type";
391
+ OAuth2ParameterType["CODE"] = "code";
392
+ OAuth2ParameterType["ACCESS_TOKEN"] = "access_token";
393
+ OAuth2ParameterType["TOKEN_TYPE"] = "token_type";
394
+ OAuth2ParameterType["EXPIRES_IN"] = "expires_in";
395
+ OAuth2ParameterType["USERNAME"] = "username";
396
+ OAuth2ParameterType["PASSWORD"] = "password";
397
+ OAuth2ParameterType["REFRESH_TOKEN"] = "refresh_token";
398
+ OAuth2ParameterType["RESPONSE_MODE"] = "response_mode";
399
+ OAuth2ParameterType["TIMESTAMP"] = "timestamp";
400
+ OAuth2ParameterType["TRACE_ID"] = "trace_id";
401
+ OAuth2ParameterType["CORRELATION_ID"] = "correlation_id";
402
+ return OAuth2ParameterType;
403
+ }({});
404
+ //#endregion
377
405
  //#region src/stsoauth2types.ts
378
406
  var AuthorizeOptionsResponseType = /* @__PURE__ */ function(AuthorizeOptionsResponseType) {
379
407
  AuthorizeOptionsResponseType["CODE"] = "code";
@@ -2055,6 +2083,7 @@ var STSOAuth2ManagerPlugin = { install: (app, options) => {
2055
2083
  exports.AuthorizeOptionsResponseMode = AuthorizeOptionsResponseMode;
2056
2084
  exports.AuthorizeOptionsResponseType = AuthorizeOptionsResponseType;
2057
2085
  exports.IOauth2ListenerCommand = IOauth2ListenerCommand;
2086
+ exports.OAuth2ParameterType = OAuth2ParameterType;
2058
2087
  exports.OAuthGrantTypes = OAuthGrantTypes;
2059
2088
  exports.STSOAuth2Manager = STSOAuth2Manager;
2060
2089
  exports.STSOAuth2ManagerPlugin = STSOAuth2ManagerPlugin;