@wenex/sdk 1.0.42 → 1.0.46
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/common/core/enums/grant-type.enum.d.ts +0 -1
- package/common/core/enums/grant-type.enum.js +0 -1
- package/common/core/enums/grant-type.enum.js.map +1 -1
- package/common/enums/auth/auths/auth-source.enum.d.ts +3 -0
- package/common/enums/auth/auths/auth-source.enum.js +8 -0
- package/common/enums/auth/auths/auth-source.enum.js.map +1 -0
- package/common/enums/auth/auths/index.d.ts +1 -1
- package/common/enums/auth/auths/index.js +1 -1
- package/common/enums/auth/auths/index.js.map +1 -1
- package/common/interfaces/auth/auths/authentication/request.interface.d.ts +2 -2
- package/package.json +1 -1
- package/common/enums/auth/auths/sso-source.enum.d.ts +0 -3
- package/common/enums/auth/auths/sso-source.enum.js +0 -8
- package/common/enums/auth/auths/sso-source.enum.js.map +0 -1
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GrantType = void 0;
|
|
4
4
|
var GrantType;
|
|
5
5
|
(function (GrantType) {
|
|
6
|
-
GrantType["sso"] = "sso";
|
|
7
6
|
GrantType["password"] = "password";
|
|
8
7
|
GrantType["refresh_token"] = "refresh_token";
|
|
9
8
|
GrantType["client_credential"] = "client_credential";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grant-type.enum.js","sourceRoot":"","sources":["../../../src/common/core/enums/grant-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"grant-type.enum.js","sourceRoot":"","sources":["../../../src/common/core/enums/grant-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,kCAAqB,CAAA;IACrB,4CAA+B,CAAA;IAC/B,oDAAuC,CAAA;IACvC,sDAAyC,CAAA;AAC3C,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthSource = void 0;
|
|
4
|
+
var AuthSource;
|
|
5
|
+
(function (AuthSource) {
|
|
6
|
+
AuthSource["google"] = "google";
|
|
7
|
+
})(AuthSource || (exports.AuthSource = AuthSource = {}));
|
|
8
|
+
//# sourceMappingURL=auth-source.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-source.enum.js","sourceRoot":"","sources":["../../../../src/common/enums/auth/auths/auth-source.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+BAAiB,CAAA;AACnB,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB"}
|
|
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./auth-source.enum"), exports);
|
|
17
18
|
__exportStar(require("./response-type.enum"), exports);
|
|
18
|
-
__exportStar(require("./sso-source.enum"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/common/enums/auth/auths/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/common/enums/auth/auths/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,uDAAqC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Scope } from '../../../../core';
|
|
2
2
|
import { GrantType } from '../../../../core/enums';
|
|
3
|
-
import { ResponseType,
|
|
3
|
+
import { ResponseType, AuthSource } from '../../../../enums/auth';
|
|
4
4
|
export interface AuthenticationRequest {
|
|
5
5
|
strict?: boolean;
|
|
6
6
|
grant_type: GrantType;
|
|
@@ -16,6 +16,6 @@ export interface AuthenticationRequest {
|
|
|
16
16
|
coworkers?: string[];
|
|
17
17
|
username?: string;
|
|
18
18
|
password?: string;
|
|
19
|
-
source?:
|
|
19
|
+
source?: AuthSource;
|
|
20
20
|
state?: string;
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SsoSource = void 0;
|
|
4
|
-
var SsoSource;
|
|
5
|
-
(function (SsoSource) {
|
|
6
|
-
SsoSource["google"] = "google";
|
|
7
|
-
})(SsoSource || (exports.SsoSource = SsoSource = {}));
|
|
8
|
-
//# sourceMappingURL=sso-source.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sso-source.enum.js","sourceRoot":"","sources":["../../../../src/common/enums/auth/auths/sso-source.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,8BAAiB,CAAA;AACnB,CAAC,EAFW,SAAS,yBAAT,SAAS,QAEpB"}
|