@nsshunt/stsoauth2plugin 1.0.170 → 1.0.171
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 +29 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +29 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/types/commonTypes.d.ts +26 -0
- package/types/commonTypes.d.ts.map +1 -0
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/stsoauth2manager.d.ts.map +1 -1
- package/types/stsoauth2worker.d.ts.map +1 -1
package/dist/index.cjs
CHANGED
|
@@ -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;
|