kauth-sdk-node 2.0.2 → 2.0.5
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.
|
@@ -5,6 +5,9 @@ export declare class KauthApi {
|
|
|
5
5
|
private marmotUtil;
|
|
6
6
|
private cache;
|
|
7
7
|
constructor({ kauthOrigin, marmotTenantId, marmotAccessKeyId, marmotAccessKeySecret, kauthServiceName, kauthServicePort, lruMaxAge, lruMax, }: KauthConfig);
|
|
8
|
+
setTraceId(traceId: string): void;
|
|
9
|
+
setSpanId(spanId: string): void;
|
|
10
|
+
setUserId(userId: string): void;
|
|
8
11
|
moziAuthorizeURL(callback: string, state: string, prompt: string): Promise<string>;
|
|
9
12
|
moziAuthenticate(data: KauthAuthenticateRequest): Promise<KauthMoziAuthenticationInformation>;
|
|
10
13
|
moziBind(data: KauthBindRequest): Promise<void>;
|
|
@@ -21,6 +21,15 @@ class KauthApi {
|
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
+
setTraceId(traceId) {
|
|
25
|
+
this.marmotUtil.setTraceId(traceId);
|
|
26
|
+
}
|
|
27
|
+
setSpanId(spanId) {
|
|
28
|
+
this.marmotUtil.setSpanId(spanId);
|
|
29
|
+
}
|
|
30
|
+
setUserId(userId) {
|
|
31
|
+
this.marmotUtil.setUserId(userId);
|
|
32
|
+
}
|
|
24
33
|
async moziAuthorizeURL(callback, state, prompt) {
|
|
25
34
|
return this.marmotUtil.get(http_1.MoziAuthorizeUri, { callback, state, prompt });
|
|
26
35
|
}
|
|
@@ -35,24 +35,18 @@ export declare class MarmotUtil {
|
|
|
35
35
|
private serviceName?;
|
|
36
36
|
private servicePort?;
|
|
37
37
|
private proxyMatched;
|
|
38
|
+
private userId?;
|
|
39
|
+
private traceId?;
|
|
40
|
+
private spanId?;
|
|
38
41
|
constructor(origin: string, tenantId?: number, accessKeyId?: string, accessKeySecret?: string, serviceName?: string, servicePort?: string);
|
|
42
|
+
setUserId(userId: string): void;
|
|
43
|
+
setTraceId(traceId: string): void;
|
|
44
|
+
setSpanId(spanId: string): void;
|
|
39
45
|
get<RequestType extends ParsedUrlQueryInput | MarmotOptions, ResponseType>(path: string, params?: RequestType): Promise<ResponseType>;
|
|
40
46
|
post<RequestType extends MarmotOptions, ResponseType>(path: string, params?: RequestType, config?: AxiosRequestConfig): Promise<ResponseType>;
|
|
41
47
|
del<RequestType extends MarmotOptions | ParsedUrlQueryInput, ResponseType>(path: string, params?: RequestType): Promise<ResponseType>;
|
|
42
48
|
resolveUri(path: string, params?: any): string;
|
|
43
|
-
resolveHeaders(method: string, uri: string,
|
|
44
|
-
'x-service-name': string;
|
|
45
|
-
'x-service-port': string;
|
|
46
|
-
'x-kauth-user-id': number;
|
|
47
|
-
authorization: string;
|
|
48
|
-
'x-gw-tenant-id'?: undefined;
|
|
49
|
-
} | {
|
|
50
|
-
'x-kauth-user-id': number;
|
|
51
|
-
'x-gw-tenant-id': number;
|
|
52
|
-
'x-service-name'?: undefined;
|
|
53
|
-
'x-service-port'?: undefined;
|
|
54
|
-
authorization?: undefined;
|
|
55
|
-
};
|
|
49
|
+
resolveHeaders(method: string, uri: string): Record<string, string | number>;
|
|
56
50
|
sign(method: string, path: string, accessKeySecret?: string): string;
|
|
57
51
|
format<T>(response: AxiosResponse<BasicReponse<any>>): Promise<T>;
|
|
58
52
|
}
|
|
@@ -27,28 +27,46 @@ class MarmotUtil {
|
|
|
27
27
|
this.servicePort = servicePort;
|
|
28
28
|
this.proxyMatched = Boolean(accessKeyId && accessKeySecret && serviceName && servicePort);
|
|
29
29
|
}
|
|
30
|
+
setUserId(userId) {
|
|
31
|
+
this.userId = userId;
|
|
32
|
+
}
|
|
33
|
+
setTraceId(traceId) {
|
|
34
|
+
this.traceId = traceId;
|
|
35
|
+
}
|
|
36
|
+
setSpanId(spanId) {
|
|
37
|
+
this.spanId = spanId;
|
|
38
|
+
}
|
|
30
39
|
async get(path, params) {
|
|
31
|
-
|
|
32
|
-
|
|
40
|
+
// 兼容老的写法
|
|
41
|
+
if (params.userId) {
|
|
42
|
+
this.setUserId(String(params.userId));
|
|
43
|
+
}
|
|
44
|
+
const uri = this.resolveUri(path, params);
|
|
33
45
|
const response = await axios_1.default.get(this.origin + uri, {
|
|
34
|
-
headers: this.resolveHeaders('GET', uri
|
|
46
|
+
headers: this.resolveHeaders('GET', uri),
|
|
35
47
|
});
|
|
36
48
|
return this.format(response);
|
|
37
49
|
}
|
|
38
50
|
async post(path, params, config) {
|
|
39
|
-
|
|
51
|
+
// 兼容老的写法
|
|
52
|
+
if (params.userId) {
|
|
53
|
+
this.setUserId(String(params.userId));
|
|
54
|
+
}
|
|
40
55
|
const uri = this.resolveUri(path);
|
|
41
|
-
const response = await axios_1.default.post(this.origin + uri,
|
|
56
|
+
const response = await axios_1.default.post(this.origin + uri, params, {
|
|
42
57
|
...config,
|
|
43
|
-
headers: this.resolveHeaders('POST', uri
|
|
58
|
+
headers: this.resolveHeaders('POST', uri),
|
|
44
59
|
});
|
|
45
60
|
return this.format(response);
|
|
46
61
|
}
|
|
47
62
|
async del(path, params) {
|
|
48
|
-
|
|
49
|
-
|
|
63
|
+
// 兼容老的写法
|
|
64
|
+
if (params.userId) {
|
|
65
|
+
this.setUserId(String(params.userId));
|
|
66
|
+
}
|
|
67
|
+
const uri = this.resolveUri(path, params);
|
|
50
68
|
const response = await axios_1.default.delete(this.origin + uri, {
|
|
51
|
-
headers: this.resolveHeaders('DELETE', uri
|
|
69
|
+
headers: this.resolveHeaders('DELETE', uri),
|
|
52
70
|
});
|
|
53
71
|
return this.format(response);
|
|
54
72
|
}
|
|
@@ -62,20 +80,30 @@ class MarmotUtil {
|
|
|
62
80
|
}
|
|
63
81
|
return `${path_1.default.normalize(path)}?${querystring_1.default.stringify(params)}`;
|
|
64
82
|
}
|
|
65
|
-
resolveHeaders(method, uri
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
83
|
+
resolveHeaders(method, uri) {
|
|
84
|
+
const headers = {};
|
|
85
|
+
if (this.userId) {
|
|
86
|
+
headers['x-kauth-user-id'] = this.userId;
|
|
87
|
+
}
|
|
88
|
+
if (this.traceId) {
|
|
89
|
+
headers['tracelog-traceid'] = this.traceId;
|
|
90
|
+
}
|
|
91
|
+
if (this.spanId) {
|
|
92
|
+
headers['tracelog-spanid'] = this.spanId;
|
|
93
|
+
}
|
|
94
|
+
if (!this.proxyMatched) {
|
|
95
|
+
// 如果直连转发,需要传入 x-gw-tenant-id
|
|
96
|
+
if (this.tenantId) {
|
|
97
|
+
headers['x-gw-tenant-id'] = this.tenantId;
|
|
98
|
+
}
|
|
99
|
+
return headers;
|
|
74
100
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
101
|
+
// tenantId 包含在了 access-key-id 中
|
|
102
|
+
const signature = this.sign(method.toUpperCase(), uri, this.accessKeySecret);
|
|
103
|
+
headers['x-service-name'] = this.serviceName;
|
|
104
|
+
headers['x-service-port'] = this.servicePort;
|
|
105
|
+
headers.authorization = `Marmot ${this.accessKeyId}:${signature}`;
|
|
106
|
+
return headers;
|
|
79
107
|
}
|
|
80
108
|
sign(method, path, accessKeySecret) {
|
|
81
109
|
const str = `method:${method.toUpperCase()},url:${path}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kauth-sdk-node",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -21,10 +21,6 @@
|
|
|
21
21
|
},
|
|
22
22
|
"author": "",
|
|
23
23
|
"license": "ISC",
|
|
24
|
-
"repository": {
|
|
25
|
-
"type": "git",
|
|
26
|
-
"url": "https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node.git"
|
|
27
|
-
},
|
|
28
24
|
"dependencies": {
|
|
29
25
|
"axios": "^0.19.2",
|
|
30
26
|
"camelcase-keys": "^6.2.2",
|
package/CHANGELOG.md
DELETED
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
## [2.0.2](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v2.0.2-alpha.0...v2.0.2) (2022-02-25)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## [2.0.2-alpha.0](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v2.0.1...v2.0.2-alpha.0) (2022-02-25)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* add pagination ([1722985](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/172298535bd976e0bcd5f857a642bc288d8f46af))
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## [2.0.1](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v2.0.1-alpha.1...v2.0.1) (2022-01-20)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## [2.0.1-alpha.1](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v2.0.1-alpha.0...v2.0.1-alpha.1) (2021-12-21)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### Bug Fixes
|
|
22
|
-
|
|
23
|
-
* add kflowCreateProcess ([a434563](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/a4345638b99def28fe65094807c99c80a0c5f4e3))
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## [2.0.1-alpha.0](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.25...v2.0.1-alpha.0) (2021-12-20)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
### Features
|
|
31
|
-
|
|
32
|
-
* flow ([cf5b0f5](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/cf5b0f51069967ce229d770e1d73dad4457f15da))
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
## [0.1.25](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.24...v0.1.25) (2021-09-28)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
### Bug Fixes
|
|
40
|
-
|
|
41
|
-
* bugs ([ef7829f](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/ef7829f5fbc5a5578c97534c6b30353b98bd0f35))
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
## [0.1.24](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.23...v0.1.24) (2021-09-28)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
### Bug Fixes
|
|
49
|
-
|
|
50
|
-
* bugs ([48e5bd2](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/48e5bd28f20236679be58dac3e38aaeefa2ab2ae))
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
### Features
|
|
54
|
-
|
|
55
|
-
* add procinst user ([1338f92](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/1338f92d8384af4ce152c3150d731ae38c65f2e4))
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
## [0.1.23](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.22...v0.1.23) (2021-07-14)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
### Bug Fixes
|
|
63
|
-
|
|
64
|
-
* create role bugs ([817b2d9](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/817b2d98663c51101601a5c8007bb97f592014dc))
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
## [0.1.22](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.21...v0.1.22) (2021-07-13)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
### Bug Fixes
|
|
72
|
-
|
|
73
|
-
* bugs ([92eee5d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/92eee5d3b8d6fcf3d1ddf6d27333c585ecd31ce7))
|
|
74
|
-
* role api ([f1c160c](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/f1c160cb858363fd4a1c6e308ece8ef48cab0b47))
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
## [0.1.21](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.20...v0.1.21) (2021-07-08)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
### Bug Fixes
|
|
82
|
-
|
|
83
|
-
* kflow api bugs ([0456be6](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/0456be63def42398ff918763cfc2e9a691ae5a89))
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
## [0.1.20](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.19...v0.1.20) (2021-06-21)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
### Bug Fixes
|
|
91
|
-
|
|
92
|
-
* add owners ([24a0ccf](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/24a0ccfde9b3edbb5d1c6cd71e6e249091a481ea))
|
|
93
|
-
* change coverage ([4528962](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/452896206546823c73985c9e47068ac0ba55c765))
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
### Features
|
|
97
|
-
|
|
98
|
-
* add role uri ([3507999](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/3507999d777d3324883b45cc89c1ec5ab46bb30b))
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
## [0.1.19](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.18...v0.1.19) (2021-06-10)
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
### Bug Fixes
|
|
106
|
-
|
|
107
|
-
* add updateRolesWithPermissions ([eb0fd33](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/eb0fd33df5e42edfdbc9086c2c147a0a17cd0ff9))
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
## [0.1.18](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.17...v0.1.18) (2021-03-12)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
### Features
|
|
115
|
-
|
|
116
|
-
* bind user with status ([993cf4d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/993cf4d23cdf8e23b424bb6aa397f8d218de6ad6))
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
## [0.1.17](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.16...v0.1.17) (2021-03-01)
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
### Features
|
|
124
|
-
|
|
125
|
-
* jwt refresh ([61aa920](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/61aa920bb0614b3c9e6b21e47a0bb04853ab8d50))
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
## [0.1.16](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.15...v0.1.16) (2021-02-09)
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
### Bug Fixes
|
|
133
|
-
|
|
134
|
-
* export PrimaryPrincipal interface ([f2bdb23](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/f2bdb23a2afb3adc3a17edb3b80908ec209cd756))
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
## [0.1.15](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.14...v0.1.15) (2021-02-04)
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
### Features
|
|
142
|
-
|
|
143
|
-
* add listUsersWithUserAccountsAndRolesByRoleExtendValue and unauthorizedRedirectIgnore ([5086c1a](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/5086c1a0b2976869a1a504eee0984117d33499cb))
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
## [0.1.14](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.13...v0.1.14) (2021-01-29)
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
### Bug Fixes
|
|
151
|
-
|
|
152
|
-
* types ([1061e6e](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/1061e6eeb99d0f3d3d42390347f8a791eed7550e))
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
## [0.1.13](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.12...v0.1.13) (2021-01-22)
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
### Bug Fixes
|
|
160
|
-
|
|
161
|
-
* add cache ([14a0d20](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/14a0d206b8056bc249f923904f00a51681f91363))
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
## [0.1.12](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.11...v0.1.12) (2021-01-21)
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
### Features
|
|
169
|
-
|
|
170
|
-
* permission inject ([561d737](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/561d737ae73fbe03f45812998a406c92625bf9f7))
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
## [0.1.11](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.10...v0.1.11) (2021-01-21)
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
### Features
|
|
178
|
-
|
|
179
|
-
* createRolesByUsersAndPermissions, listRolesByExtendValue and bindUserByRolesAndExtendValue ([3f0b90f](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/3f0b90f20a1a67d74c5ecab69030ac530eabf51e))
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
## [0.1.10](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.9...v0.1.10) (2021-01-14)
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
### Features
|
|
187
|
-
|
|
188
|
-
* mock handler ([8c8f4c6](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/8c8f4c6000ebfe7df3916e689c9bb26a69927715))
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
## [0.1.9](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.8...v0.1.9) (2021-01-08)
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
### Bug Fixes
|
|
196
|
-
|
|
197
|
-
* promisify loginHandler and authHandler ([d758895](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/d758895e946c5cf7e4358d166a5bf4b81125d237))
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
## [0.1.8](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.7...v0.1.8) (2021-01-08)
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
## [0.1.7](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.6...v0.1.7) (2020-12-29)
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
### Bug Fixes
|
|
209
|
-
|
|
210
|
-
* replace config.origin by ctx.request.origin ([7ad507d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/7ad507de86d7ffe77fc610e6d328ec0a3e82abb6))
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
## [0.1.6](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.5...v0.1.6) (2020-12-24)
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
### Features
|
|
218
|
-
|
|
219
|
-
* members and connections ([f5a1f65](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/f5a1f65a0cb819f29818bb300f5f983ec365c1e4))
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
## [0.1.5](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.4...v0.1.5) (2020-10-29)
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
### Bug Fixes
|
|
227
|
-
|
|
228
|
-
* prompt config ([2cd40a8](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/2cd40a8b96bc3c8b4adda0ece4df295e9eb1ac5f))
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
## [0.1.4](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.3...v0.1.4) (2020-10-29)
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
### Bug Fixes
|
|
236
|
-
|
|
237
|
-
* add prompt ([c9316c8](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/c9316c82c87451a05476924eb24ea6f91c5a2fa9))
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
## [0.1.3](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.2...v0.1.3) (2020-10-29)
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
### Bug Fixes
|
|
245
|
-
|
|
246
|
-
* authenticationInformationHandler params ([6188960](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/61889603dbf4f5f177ff6ca545afaaab155bda4a))
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
## [0.1.2](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.1...v0.1.2) (2020-10-29)
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
### Features
|
|
254
|
-
|
|
255
|
-
* logout uri and authenticationInformationHandler ([5b972a7](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/5b972a7dad84dd0c93a5b3e6f32f4d396c85035c))
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
## [0.1.1](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.0...v0.1.1) (2020-09-27)
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
### Features
|
|
263
|
-
|
|
264
|
-
* rbac and connect ([0f75aac](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/0f75aaca8b5f2418d677e6e2583f105b42b970b2))
|
|
265
|
-
* reviewer robot ([c379ef4](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/c379ef44b8fa2c21e3739d9eca88339ae4a4254b))
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
# [0.1.0](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.0.16...v0.1.0) (2020-09-07)
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
### Features
|
|
273
|
-
|
|
274
|
-
* add watch ([7f3bee3](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/7f3bee325d1dcc3e342efff059a77fe5c01db665))
|
|
275
|
-
* support miniprogram login ([21452fe](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/21452fe600db1910ee7082fbef7bd7fea3fc992c))
|
|
276
|
-
* update git repo ([a043b92](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/a043b92c10f9c37463dd15133659a0652cefe83f))
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
## [0.0.17](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.0.16...v0.0.17) (2020-08-27)
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
### Features
|
|
284
|
-
|
|
285
|
-
* add watch ([7f3bee3](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/7f3bee325d1dcc3e342efff059a77fe5c01db665))
|
|
286
|
-
* update git repo ([a043b92](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/a043b92c10f9c37463dd15133659a0652cefe83f))
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
## 0.0.16 (2020-08-26)
|
|
291
|
-
|
|
292
|
-
### Bug Fixes
|
|
293
|
-
|
|
294
|
-
- add avatar ([3afa26f](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/3afa26f669ede87f5e40a39da0e9f45160742cd7))
|
|
295
|
-
- add enum and remove public ([de81327](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/de8132788aca556500f2afd2b30b2496a709f3d9))
|
|
296
|
-
- add npm version and publish hook ([ee798ba](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/ee798baedc8b6f6c41d5630b199f3f366aabfe46))
|
|
297
|
-
- bugs ([232f413](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/232f4137c4d8da15e575615b13b1244f77dcbfe6))
|
|
298
|
-
- bugs ([f2d2024](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/f2d2024d93759208f02d820d190003a680597372))
|
|
299
|
-
- bugs ([ebb8852](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/ebb88528931334236120275074790a7a3e3a8a1c))
|
|
300
|
-
- bugs ([06d4049](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/06d4049aa6754e3557e3593297f1fa8743497a91))
|
|
301
|
-
- convert babel env to node 12 ([4b16fed](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/4b16fed53b2df50978f030432dacbae603ff7fa6))
|
|
302
|
-
- export mozi auth info and google auth info, fix readme.md ([30392f6](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/30392f6854852651271691a7870c6ee878720290))
|
|
303
|
-
- export mozi principal and google principal ([991295f](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/991295fb5fea6d30742fd14d070d21f013ab74c4))
|
|
304
|
-
- kflow api indexed ([06cbcbe](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/06cbcbecc0fab5aeccd80d39f698e3670ab15f99))
|
|
305
|
-
- marmot utils axios params nullable ([d870314](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/d8703147cfc3d715366ab3d2663e4b21af23c6fe))
|
|
306
|
-
- move gulp to tsc ([5618ba7](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/5618ba74fbc7d199846b00f6d599a6efae2787ba))
|
|
307
|
-
- mv build to dist ([071c03a](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/071c03ac7c699474a5c957ed4d4cf83ec7ca7d38))
|
|
308
|
-
- nyc coverage ([32c7bc0](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/32c7bc01017f9ad79a3309aa3f03262b839d62b3))
|
|
309
|
-
|
|
310
|
-
### Features
|
|
311
|
-
|
|
312
|
-
- add marmot api ([e084578](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/e08457805c59e6e3266cacb1502745ef22ca6bf8))
|
|
313
|
-
- add OWNERS ([390881d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/390881d17ef8e7fef95785a56cd25fe6e21b4edd))
|
|
314
|
-
- build ([1da5d6d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/1da5d6d18b07d761bf3306c71388a0a3e223f47b))
|
|
315
|
-
- egg middleware ([30278b1](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/30278b16efef8ab4b1c43787994f9ddca6daf8c6))
|
|
316
|
-
- initialized ([41fe73d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/41fe73def8662563e2f7ae29580056e6944c5ab1))
|
|
317
|
-
- kflow api support ([bd53d2e](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/bd53d2e954e62afa2f9a2211d4c3c9266093fedd))
|
|
318
|
-
- permissions and watch ([d0cd323](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/d0cd323b1e547783db193dc699d8f8ae84114fb5))
|
|
319
|
-
- remove egg middleware ([4266f37](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/4266f37309bc02bf7ffe69f472feb45203532bda))
|
|
320
|
-
- v0.0.11 ([e0887c6](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/e0887c6a55ab68a85b97a2ac562073fd88e7921a))
|
|
321
|
-
- v0.0.12 ([47c6d5d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/47c6d5de3c04d47aa8e4d1d23bd95323d064c826))
|
|
322
|
-
- v0.0.13 ([48518e4](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/48518e42814f11cd73d4199f59aa4069844685c1))
|
|
323
|
-
- v0.0.9 ([2f1f32b](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/2f1f32bb7cf508d97ae597a20777b2925a44f653))
|
|
324
|
-
- version ([2babee1](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/2babee12614cf682e46a442188463ddbd7d8265e))
|