kauth-sdk-node 2.0.1 → 2.0.3

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.
@@ -12,6 +12,7 @@ export declare const MiniprogramBindUri = "/api/authenticator/miniprogram/bind/"
12
12
  export declare const MiniprogramAuthenticationInformationUri = "/api/authenticator/miniprogram/authenticationInformation";
13
13
  export declare const UnbindUri = "/api/authenticator/unbind/";
14
14
  export declare const GetUserByIdUri = "/api/backend/getUserById";
15
+ export declare const SearchUsersWithUserAccountsAndRolesUri = "/api/backend/searchUsersWithUserAccountsAndRoles";
15
16
  export declare const ListUsersUri = "/api/backend/listUsers";
16
17
  export declare const ListUsersWithUserAccountsAndRolesUri = "/api/backend/listUsersWithUserAccountsAndRoles";
17
18
  export declare const ListUsersWithUserAccountsAndRolesByRoleExtendValueUri = "/api/backend/listUsersWithUserAccountsAndRolesByRoleExtendValue";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CompleteGraphServiceTaskUri = exports.GetGraphStateMachineSnapshotUri = exports.StartGraphProcessUri = exports.GetProcinstUserUri = exports.InstanceUri = exports.ServiceTaskUri = exports.ProcessUri = exports.BindRoleWithUsersUri = exports.BindRoleByPermissionsUri = exports.BindUsersByRoleNameAndExtendValueUri = exports.BindUserByRolesAndExtendValueUri = exports.BindUserByRoleNamesAndExtendValueUri = exports.BindUserByRolesUri = exports.CreatePermissionUri = exports.ListPermissionsByUserIdUri = exports.ListPermissionsUri = exports.UpdateRolesWithPermissionsUri = exports.CreateRolesByUsersAndPermissionsUri = exports.CreateRoleUri = exports.ListRolesByNamesAndExtendValueUri = exports.ListRolesByUserIdUri = exports.ListRolesByExtendValueUri = exports.ListRolesUri = exports.GetRoleWithUsersUri = exports.ListUsersByPermissionNameAndExtendValueUri = exports.ListUsersByPermissionIdUri = exports.ListUsersByRoleNameAndExtendValueUri = exports.ListUsersByRoleIdUri = exports.ListUsersWithUserAccountsAndRolesByRoleExtendValueUri = exports.ListUsersWithUserAccountsAndRolesUri = exports.ListUsersUri = exports.GetUserByIdUri = exports.UnbindUri = exports.MiniprogramAuthenticationInformationUri = exports.MiniprogramBindUri = exports.MiniprogramAuthenticateUri = exports.MiniprogramAuthorizeUri = exports.GoogleAuthenticationInformationUri = exports.GoogleBindUri = exports.GoogleAuthenticateUri = exports.GoogleAuthorizeUri = exports.MoziAuthenticationInformationUri = exports.MoziBindUri = exports.MoziAuthenticateUri = exports.MoziAuthorizeUri = void 0;
3
+ exports.CompleteGraphServiceTaskUri = exports.GetGraphStateMachineSnapshotUri = exports.StartGraphProcessUri = exports.GetProcinstUserUri = exports.InstanceUri = exports.ServiceTaskUri = exports.ProcessUri = exports.BindRoleWithUsersUri = exports.BindRoleByPermissionsUri = exports.BindUsersByRoleNameAndExtendValueUri = exports.BindUserByRolesAndExtendValueUri = exports.BindUserByRoleNamesAndExtendValueUri = exports.BindUserByRolesUri = exports.CreatePermissionUri = exports.ListPermissionsByUserIdUri = exports.ListPermissionsUri = exports.UpdateRolesWithPermissionsUri = exports.CreateRolesByUsersAndPermissionsUri = exports.CreateRoleUri = exports.ListRolesByNamesAndExtendValueUri = exports.ListRolesByUserIdUri = exports.ListRolesByExtendValueUri = exports.ListRolesUri = exports.GetRoleWithUsersUri = exports.ListUsersByPermissionNameAndExtendValueUri = exports.ListUsersByPermissionIdUri = exports.ListUsersByRoleNameAndExtendValueUri = exports.ListUsersByRoleIdUri = exports.ListUsersWithUserAccountsAndRolesByRoleExtendValueUri = exports.ListUsersWithUserAccountsAndRolesUri = exports.ListUsersUri = exports.SearchUsersWithUserAccountsAndRolesUri = exports.GetUserByIdUri = exports.UnbindUri = exports.MiniprogramAuthenticationInformationUri = exports.MiniprogramBindUri = exports.MiniprogramAuthenticateUri = exports.MiniprogramAuthorizeUri = exports.GoogleAuthenticationInformationUri = exports.GoogleBindUri = exports.GoogleAuthenticateUri = exports.GoogleAuthorizeUri = exports.MoziAuthenticationInformationUri = exports.MoziBindUri = exports.MoziAuthenticateUri = exports.MoziAuthorizeUri = void 0;
4
4
  // kauth
5
5
  exports.MoziAuthorizeUri = '/api/authenticator/mozi/authorizeUrl';
6
6
  exports.MoziAuthenticateUri = '/api/authenticator/mozi/authenticate';
@@ -16,6 +16,7 @@ exports.MiniprogramBindUri = '/api/authenticator/miniprogram/bind/';
16
16
  exports.MiniprogramAuthenticationInformationUri = '/api/authenticator/miniprogram/authenticationInformation';
17
17
  exports.UnbindUri = '/api/authenticator/unbind/';
18
18
  exports.GetUserByIdUri = '/api/backend/getUserById';
19
+ exports.SearchUsersWithUserAccountsAndRolesUri = '/api/backend/searchUsersWithUserAccountsAndRoles';
19
20
  exports.ListUsersUri = '/api/backend/listUsers';
20
21
  exports.ListUsersWithUserAccountsAndRolesUri = '/api/backend/listUsersWithUserAccountsAndRoles';
21
22
  exports.ListUsersWithUserAccountsAndRolesByRoleExtendValueUri = '/api/backend/listUsersWithUserAccountsAndRolesByRoleExtendValue';
@@ -1,6 +1,6 @@
1
1
  import { KauthConfig } from '../config/config';
2
- import { KauthAuthenticateRequest, KauthCreatePermissionRequest, KauthCreateRoleRequest, KauthCreateRolesByPermissionsAndUsersRequest, KauthBindUsersByRoleNameAndExtendValueRequest, KauthBindRequest, KauthBindRoleByPermissionsRequest, KauthBindUserByRolesRequest, KauthBindUserByRolesAndExtendValueRequest, KauthUpdateRolesWithPermissionsRequest, KauthBindRoleWithUsersRequest, KauthBindUserByRoleNamesAndExtendValueRequest } from './request/kauth';
3
- import { KauthMoziAuthenticationInformation, KauthGoogleAuthenticationInformation, KauthPermission, KauthMiniprogramAuthenticationInformation, KauthRole, KauthUser } from './response/kauth';
2
+ import { KauthAuthenticateRequest, KauthCreatePermissionRequest, KauthCreateRoleRequest, KauthCreateRolesByPermissionsAndUsersRequest, KauthBindUsersByRoleNameAndExtendValueRequest, KauthBindRequest, KauthBindRoleByPermissionsRequest, KauthBindUserByRolesRequest, KauthBindUserByRolesAndExtendValueRequest, KauthUpdateRolesWithPermissionsRequest, KauthBindRoleWithUsersRequest, KauthBindUserByRoleNamesAndExtendValueRequest, KauthSearchUsersWithUserAccountsAndRoleRequest } from './request/kauth';
3
+ import { KauthMoziAuthenticationInformation, KauthGoogleAuthenticationInformation, KauthPermission, KauthMiniprogramAuthenticationInformation, KauthRole, KauthUser, KauthPagable } from './response/kauth';
4
4
  export declare class KauthApi {
5
5
  private marmotUtil;
6
6
  private cache;
@@ -17,6 +17,7 @@ export declare class KauthApi {
17
17
  miniprogramAuthenticate(data: KauthAuthenticateRequest): Promise<KauthMiniprogramAuthenticationInformation>;
18
18
  miniprogramBind(data: KauthBindRequest): Promise<void>;
19
19
  getMiniprogramAuthenticationInformation(id: number): Promise<KauthMiniprogramAuthenticationInformation>;
20
+ searchUsersWithUserAccountsAndRoles(data: KauthSearchUsersWithUserAccountsAndRoleRequest): Promise<KauthPagable<KauthUser[]>>;
20
21
  getUserById(id: number): Promise<KauthUser>;
21
22
  listUsers(): Promise<KauthUser[]>;
22
23
  listUsersWithUserAccountsAndRoles(): Promise<KauthUser[]>;
@@ -57,6 +57,9 @@ class KauthApi {
57
57
  async getMiniprogramAuthenticationInformation(id) {
58
58
  return this.marmotUtil.get(http_1.MiniprogramAuthenticationInformationUri, { id });
59
59
  }
60
+ async searchUsersWithUserAccountsAndRoles(data) {
61
+ return this.marmotUtil.post(http_1.SearchUsersWithUserAccountsAndRolesUri, data);
62
+ }
60
63
  async getUserById(id) {
61
64
  return this.marmotUtil.get(http_1.GetUserByIdUri, { id });
62
65
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import { ParsedUrlQueryInput } from 'querystring';
3
- import { MarmotOptions } from '../tool/marmot';
3
+ import { MarmotOptions, MarmotPagination } from '../tool/marmot';
4
4
  export interface KauthAuthenticateRequest extends ParsedUrlQueryInput, MarmotOptions {
5
5
  code: string;
6
6
  redirect_uri: string;
@@ -12,21 +12,25 @@ export interface KauthBindRequest extends ParsedUrlQueryInput, MarmotOptions {
12
12
  }
13
13
  export interface KauthCreatePermissionRequest extends MarmotOptions {
14
14
  name: string;
15
- type: number;
16
- extend_value: string;
15
+ locale?: string;
16
+ extend_value?: string;
17
+ type?: number;
17
18
  }
18
19
  export interface KauthCreateRoleRequest extends MarmotOptions {
19
20
  name: string;
20
- extend_value: string;
21
+ locale?: string;
22
+ extend_value?: string;
21
23
  }
22
24
  export interface KauthCreateRolesByPermissionsAndUsersRequest extends MarmotOptions {
23
25
  roles: Array<{
24
26
  name: string;
25
- extend_value: string;
27
+ locale?: string;
28
+ extend_value?: string;
26
29
  permissions: Array<{
27
30
  name: string;
31
+ locale?: string;
32
+ extend_value?: string;
28
33
  type?: number;
29
- extend_value: string;
30
34
  }>;
31
35
  users?: Array<{
32
36
  id: number;
@@ -73,11 +77,13 @@ export interface KauthBindRoleByPermissionsRequest extends MarmotOptions {
73
77
  export interface KauthUpdateRolesWithPermissionsRequest extends MarmotOptions {
74
78
  roles: Array<{
75
79
  name: string;
76
- extend_value: string;
80
+ locale?: string;
81
+ extend_value?: string;
77
82
  permissions: Array<{
78
83
  name: string;
84
+ locale?: string;
85
+ extend_value?: string;
79
86
  type?: number;
80
- extend_value: string;
81
87
  }>;
82
88
  }>;
83
89
  }
@@ -87,3 +93,9 @@ export interface KauthBindRoleWithUsersRequest extends MarmotOptions {
87
93
  id: number;
88
94
  }>;
89
95
  }
96
+ export interface KauthSearchUsersWithUserAccountsAndRoleRequest extends MarmotOptions {
97
+ name?: string;
98
+ role_name?: string;
99
+ role_extend_value?: string;
100
+ pagination: Partial<MarmotPagination>;
101
+ }
@@ -1,4 +1,5 @@
1
1
  import { PrimaryPrincipal } from '../../../authenticator/base';
2
+ import { MarmotPagination } from '../tool/marmot';
2
3
  export declare enum KauthPrincipalStatus {
3
4
  Normal = 0,
4
5
  Locked = 1
@@ -84,3 +85,7 @@ export interface KauthUser {
84
85
  roles?: any[];
85
86
  accounts?: any[];
86
87
  }
88
+ export interface KauthPagable<T> {
89
+ data: T;
90
+ pagination: MarmotPagination;
91
+ }
@@ -12,6 +12,17 @@ interface BasicReponse<T> {
12
12
  body: T;
13
13
  message: string;
14
14
  }
15
+ export interface MarmotPagination {
16
+ size: number;
17
+ page: number;
18
+ offset: number;
19
+ total: number;
20
+ sort: Array<{
21
+ name: string;
22
+ dir: string;
23
+ fields: string[];
24
+ }>;
25
+ }
15
26
  export interface MarmotOptions {
16
27
  userId?: number;
17
28
  timestamp?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kauth-sdk-node",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [
package/CHANGELOG.md DELETED
@@ -1,311 +0,0 @@
1
- ## [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)
2
-
3
-
4
-
5
- ## [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)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * add kflowCreateProcess ([a434563](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/a4345638b99def28fe65094807c99c80a0c5f4e3))
11
-
12
-
13
-
14
- ## [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)
15
-
16
-
17
- ### Features
18
-
19
- * flow ([cf5b0f5](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/cf5b0f51069967ce229d770e1d73dad4457f15da))
20
-
21
-
22
-
23
- ## [0.1.25](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.24...v0.1.25) (2021-09-28)
24
-
25
-
26
- ### Bug Fixes
27
-
28
- * bugs ([ef7829f](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/ef7829f5fbc5a5578c97534c6b30353b98bd0f35))
29
-
30
-
31
-
32
- ## [0.1.24](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.23...v0.1.24) (2021-09-28)
33
-
34
-
35
- ### Bug Fixes
36
-
37
- * bugs ([48e5bd2](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/48e5bd28f20236679be58dac3e38aaeefa2ab2ae))
38
-
39
-
40
- ### Features
41
-
42
- * add procinst user ([1338f92](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/1338f92d8384af4ce152c3150d731ae38c65f2e4))
43
-
44
-
45
-
46
- ## [0.1.23](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.22...v0.1.23) (2021-07-14)
47
-
48
-
49
- ### Bug Fixes
50
-
51
- * create role bugs ([817b2d9](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/817b2d98663c51101601a5c8007bb97f592014dc))
52
-
53
-
54
-
55
- ## [0.1.22](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.21...v0.1.22) (2021-07-13)
56
-
57
-
58
- ### Bug Fixes
59
-
60
- * bugs ([92eee5d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/92eee5d3b8d6fcf3d1ddf6d27333c585ecd31ce7))
61
- * role api ([f1c160c](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/f1c160cb858363fd4a1c6e308ece8ef48cab0b47))
62
-
63
-
64
-
65
- ## [0.1.21](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.20...v0.1.21) (2021-07-08)
66
-
67
-
68
- ### Bug Fixes
69
-
70
- * kflow api bugs ([0456be6](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/0456be63def42398ff918763cfc2e9a691ae5a89))
71
-
72
-
73
-
74
- ## [0.1.20](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.19...v0.1.20) (2021-06-21)
75
-
76
-
77
- ### Bug Fixes
78
-
79
- * add owners ([24a0ccf](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/24a0ccfde9b3edbb5d1c6cd71e6e249091a481ea))
80
- * change coverage ([4528962](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/452896206546823c73985c9e47068ac0ba55c765))
81
-
82
-
83
- ### Features
84
-
85
- * add role uri ([3507999](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/3507999d777d3324883b45cc89c1ec5ab46bb30b))
86
-
87
-
88
-
89
- ## [0.1.19](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.18...v0.1.19) (2021-06-10)
90
-
91
-
92
- ### Bug Fixes
93
-
94
- * add updateRolesWithPermissions ([eb0fd33](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/eb0fd33df5e42edfdbc9086c2c147a0a17cd0ff9))
95
-
96
-
97
-
98
- ## [0.1.18](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.17...v0.1.18) (2021-03-12)
99
-
100
-
101
- ### Features
102
-
103
- * bind user with status ([993cf4d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/993cf4d23cdf8e23b424bb6aa397f8d218de6ad6))
104
-
105
-
106
-
107
- ## [0.1.17](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.16...v0.1.17) (2021-03-01)
108
-
109
-
110
- ### Features
111
-
112
- * jwt refresh ([61aa920](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/61aa920bb0614b3c9e6b21e47a0bb04853ab8d50))
113
-
114
-
115
-
116
- ## [0.1.16](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.15...v0.1.16) (2021-02-09)
117
-
118
-
119
- ### Bug Fixes
120
-
121
- * export PrimaryPrincipal interface ([f2bdb23](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/f2bdb23a2afb3adc3a17edb3b80908ec209cd756))
122
-
123
-
124
-
125
- ## [0.1.15](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.14...v0.1.15) (2021-02-04)
126
-
127
-
128
- ### Features
129
-
130
- * add listUsersWithUserAccountsAndRolesByRoleExtendValue and unauthorizedRedirectIgnore ([5086c1a](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/5086c1a0b2976869a1a504eee0984117d33499cb))
131
-
132
-
133
-
134
- ## [0.1.14](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.13...v0.1.14) (2021-01-29)
135
-
136
-
137
- ### Bug Fixes
138
-
139
- * types ([1061e6e](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/1061e6eeb99d0f3d3d42390347f8a791eed7550e))
140
-
141
-
142
-
143
- ## [0.1.13](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.12...v0.1.13) (2021-01-22)
144
-
145
-
146
- ### Bug Fixes
147
-
148
- * add cache ([14a0d20](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/14a0d206b8056bc249f923904f00a51681f91363))
149
-
150
-
151
-
152
- ## [0.1.12](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.11...v0.1.12) (2021-01-21)
153
-
154
-
155
- ### Features
156
-
157
- * permission inject ([561d737](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/561d737ae73fbe03f45812998a406c92625bf9f7))
158
-
159
-
160
-
161
- ## [0.1.11](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.10...v0.1.11) (2021-01-21)
162
-
163
-
164
- ### Features
165
-
166
- * createRolesByUsersAndPermissions, listRolesByExtendValue and bindUserByRolesAndExtendValue ([3f0b90f](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/3f0b90f20a1a67d74c5ecab69030ac530eabf51e))
167
-
168
-
169
-
170
- ## [0.1.10](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.9...v0.1.10) (2021-01-14)
171
-
172
-
173
- ### Features
174
-
175
- * mock handler ([8c8f4c6](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/8c8f4c6000ebfe7df3916e689c9bb26a69927715))
176
-
177
-
178
-
179
- ## [0.1.9](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.8...v0.1.9) (2021-01-08)
180
-
181
-
182
- ### Bug Fixes
183
-
184
- * promisify loginHandler and authHandler ([d758895](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/d758895e946c5cf7e4358d166a5bf4b81125d237))
185
-
186
-
187
-
188
- ## [0.1.8](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.7...v0.1.8) (2021-01-08)
189
-
190
-
191
-
192
- ## [0.1.7](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.6...v0.1.7) (2020-12-29)
193
-
194
-
195
- ### Bug Fixes
196
-
197
- * replace config.origin by ctx.request.origin ([7ad507d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/7ad507de86d7ffe77fc610e6d328ec0a3e82abb6))
198
-
199
-
200
-
201
- ## [0.1.6](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.5...v0.1.6) (2020-12-24)
202
-
203
-
204
- ### Features
205
-
206
- * members and connections ([f5a1f65](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/f5a1f65a0cb819f29818bb300f5f983ec365c1e4))
207
-
208
-
209
-
210
- ## [0.1.5](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.4...v0.1.5) (2020-10-29)
211
-
212
-
213
- ### Bug Fixes
214
-
215
- * prompt config ([2cd40a8](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/2cd40a8b96bc3c8b4adda0ece4df295e9eb1ac5f))
216
-
217
-
218
-
219
- ## [0.1.4](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.3...v0.1.4) (2020-10-29)
220
-
221
-
222
- ### Bug Fixes
223
-
224
- * add prompt ([c9316c8](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/c9316c82c87451a05476924eb24ea6f91c5a2fa9))
225
-
226
-
227
-
228
- ## [0.1.3](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.2...v0.1.3) (2020-10-29)
229
-
230
-
231
- ### Bug Fixes
232
-
233
- * authenticationInformationHandler params ([6188960](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/61889603dbf4f5f177ff6ca545afaaab155bda4a))
234
-
235
-
236
-
237
- ## [0.1.2](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.1...v0.1.2) (2020-10-29)
238
-
239
-
240
- ### Features
241
-
242
- * logout uri and authenticationInformationHandler ([5b972a7](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/5b972a7dad84dd0c93a5b3e6f32f4d396c85035c))
243
-
244
-
245
-
246
- ## [0.1.1](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.1.0...v0.1.1) (2020-09-27)
247
-
248
-
249
- ### Features
250
-
251
- * rbac and connect ([0f75aac](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/0f75aaca8b5f2418d677e6e2583f105b42b970b2))
252
- * reviewer robot ([c379ef4](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/c379ef44b8fa2c21e3739d9eca88339ae4a4254b))
253
-
254
-
255
-
256
- # [0.1.0](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.0.16...v0.1.0) (2020-09-07)
257
-
258
-
259
- ### Features
260
-
261
- * add watch ([7f3bee3](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/7f3bee325d1dcc3e342efff059a77fe5c01db665))
262
- * support miniprogram login ([21452fe](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/21452fe600db1910ee7082fbef7bd7fea3fc992c))
263
- * update git repo ([a043b92](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/a043b92c10f9c37463dd15133659a0652cefe83f))
264
-
265
-
266
-
267
- ## [0.0.17](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/compare/v0.0.16...v0.0.17) (2020-08-27)
268
-
269
-
270
- ### Features
271
-
272
- * add watch ([7f3bee3](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/7f3bee325d1dcc3e342efff059a77fe5c01db665))
273
- * update git repo ([a043b92](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/a043b92c10f9c37463dd15133659a0652cefe83f))
274
-
275
-
276
-
277
- ## 0.0.16 (2020-08-26)
278
-
279
- ### Bug Fixes
280
-
281
- - add avatar ([3afa26f](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/3afa26f669ede87f5e40a39da0e9f45160742cd7))
282
- - add enum and remove public ([de81327](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/de8132788aca556500f2afd2b30b2496a709f3d9))
283
- - add npm version and publish hook ([ee798ba](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/ee798baedc8b6f6c41d5630b199f3f366aabfe46))
284
- - bugs ([232f413](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/232f4137c4d8da15e575615b13b1244f77dcbfe6))
285
- - bugs ([f2d2024](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/f2d2024d93759208f02d820d190003a680597372))
286
- - bugs ([ebb8852](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/ebb88528931334236120275074790a7a3e3a8a1c))
287
- - bugs ([06d4049](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/06d4049aa6754e3557e3593297f1fa8743497a91))
288
- - convert babel env to node 12 ([4b16fed](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/4b16fed53b2df50978f030432dacbae603ff7fa6))
289
- - export mozi auth info and google auth info, fix readme.md ([30392f6](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/30392f6854852651271691a7870c6ee878720290))
290
- - export mozi principal and google principal ([991295f](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/991295fb5fea6d30742fd14d070d21f013ab74c4))
291
- - kflow api indexed ([06cbcbe](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/06cbcbecc0fab5aeccd80d39f698e3670ab15f99))
292
- - marmot utils axios params nullable ([d870314](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/d8703147cfc3d715366ab3d2663e4b21af23c6fe))
293
- - move gulp to tsc ([5618ba7](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/5618ba74fbc7d199846b00f6d599a6efae2787ba))
294
- - mv build to dist ([071c03a](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/071c03ac7c699474a5c957ed4d4cf83ec7ca7d38))
295
- - nyc coverage ([32c7bc0](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/32c7bc01017f9ad79a3309aa3f03262b839d62b3))
296
-
297
- ### Features
298
-
299
- - add marmot api ([e084578](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/e08457805c59e6e3266cacb1502745ef22ca6bf8))
300
- - add OWNERS ([390881d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/390881d17ef8e7fef95785a56cd25fe6e21b4edd))
301
- - build ([1da5d6d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/1da5d6d18b07d761bf3306c71388a0a3e223f47b))
302
- - egg middleware ([30278b1](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/30278b16efef8ab4b1c43787994f9ddca6daf8c6))
303
- - initialized ([41fe73d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/41fe73def8662563e2f7ae29580056e6944c5ab1))
304
- - kflow api support ([bd53d2e](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/bd53d2e954e62afa2f9a2211d4c3c9266093fedd))
305
- - permissions and watch ([d0cd323](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/d0cd323b1e547783db193dc699d8f8ae84114fb5))
306
- - remove egg middleware ([4266f37](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/4266f37309bc02bf7ffe69f472feb45203532bda))
307
- - v0.0.11 ([e0887c6](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/e0887c6a55ab68a85b97a2ac562073fd88e7921a))
308
- - v0.0.12 ([47c6d5d](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/47c6d5de3c04d47aa8e4d1d23bd95323d064c826))
309
- - v0.0.13 ([48518e4](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/48518e42814f11cd73d4199f59aa4069844685c1))
310
- - v0.0.9 ([2f1f32b](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/2f1f32bb7cf508d97ae597a20777b2925a44f653))
311
- - version ([2babee1](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-node/commit/2babee12614cf682e46a442188463ddbd7d8265e))