@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 +33 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +29 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
- 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.mjs
CHANGED
|
@@ -373,6 +373,34 @@ Object.defineProperties(createChalk.prototype, styles);
|
|
|
373
373
|
var chalk = createChalk();
|
|
374
374
|
createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
375
375
|
//#endregion
|
|
376
|
+
//#region src/commonTypes.ts
|
|
377
|
+
var OAuth2ParameterType = /* @__PURE__ */ function(OAuth2ParameterType) {
|
|
378
|
+
OAuth2ParameterType["AUDIENCE"] = "AUDIENCE";
|
|
379
|
+
OAuth2ParameterType["CLIENT_ID"] = "client_id";
|
|
380
|
+
OAuth2ParameterType["CLIENT_SECRET"] = "client_secret";
|
|
381
|
+
OAuth2ParameterType["RESPONSE_TYPE"] = "response_type";
|
|
382
|
+
OAuth2ParameterType["SCOPE"] = "scope";
|
|
383
|
+
OAuth2ParameterType["STATE"] = "state";
|
|
384
|
+
OAuth2ParameterType["REDIRECT_URI"] = "redirect_uri";
|
|
385
|
+
OAuth2ParameterType["ERROR"] = "error";
|
|
386
|
+
OAuth2ParameterType["ERROR_DESCRIPTION"] = "error_description";
|
|
387
|
+
OAuth2ParameterType["ERROR_CODES"] = "error_codes";
|
|
388
|
+
OAuth2ParameterType["ERROR_URI"] = "error_uri";
|
|
389
|
+
OAuth2ParameterType["GRANT_TYPE"] = "grant_type";
|
|
390
|
+
OAuth2ParameterType["CODE"] = "code";
|
|
391
|
+
OAuth2ParameterType["ACCESS_TOKEN"] = "access_token";
|
|
392
|
+
OAuth2ParameterType["TOKEN_TYPE"] = "token_type";
|
|
393
|
+
OAuth2ParameterType["EXPIRES_IN"] = "expires_in";
|
|
394
|
+
OAuth2ParameterType["USERNAME"] = "username";
|
|
395
|
+
OAuth2ParameterType["PASSWORD"] = "password";
|
|
396
|
+
OAuth2ParameterType["REFRESH_TOKEN"] = "refresh_token";
|
|
397
|
+
OAuth2ParameterType["RESPONSE_MODE"] = "response_mode";
|
|
398
|
+
OAuth2ParameterType["TIMESTAMP"] = "timestamp";
|
|
399
|
+
OAuth2ParameterType["TRACE_ID"] = "trace_id";
|
|
400
|
+
OAuth2ParameterType["CORRELATION_ID"] = "correlation_id";
|
|
401
|
+
return OAuth2ParameterType;
|
|
402
|
+
}({});
|
|
403
|
+
//#endregion
|
|
376
404
|
//#region src/stsoauth2types.ts
|
|
377
405
|
var AuthorizeOptionsResponseType = /* @__PURE__ */ function(AuthorizeOptionsResponseType) {
|
|
378
406
|
AuthorizeOptionsResponseType["CODE"] = "code";
|
|
@@ -2051,6 +2079,6 @@ var STSOAuth2ManagerPlugin = { install: (app, options) => {
|
|
|
2051
2079
|
app.provide(STSOAuth2ManagerPluginKey, om);
|
|
2052
2080
|
} };
|
|
2053
2081
|
//#endregion
|
|
2054
|
-
export { AuthorizeOptionsResponseMode, AuthorizeOptionsResponseType, IOauth2ListenerCommand, OAuthGrantTypes, STSOAuth2Manager, STSOAuth2ManagerPlugin, STSOAuth2ManagerPluginKey, STSOAuth2Worker, STSOauth2Store, TestStore, useSTSOAuth2ManagerPlugin };
|
|
2082
|
+
export { AuthorizeOptionsResponseMode, AuthorizeOptionsResponseType, IOauth2ListenerCommand, OAuth2ParameterType, OAuthGrantTypes, STSOAuth2Manager, STSOAuth2ManagerPlugin, STSOAuth2ManagerPluginKey, STSOAuth2Worker, STSOauth2Store, TestStore, useSTSOAuth2ManagerPlugin };
|
|
2055
2083
|
|
|
2056
2084
|
//# sourceMappingURL=index.mjs.map
|