@pubinfo-pr/module-captcha 0.182.3 → 0.182.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.
|
@@ -3,76 +3,76 @@ import { auth as request } from '../../request';
|
|
|
3
3
|
* @description 验证码-前端校验 需要校验的验证码类型:blockPuzzle、clickWord
|
|
4
4
|
* @url /auth/captcha/check
|
|
5
5
|
* @method POST
|
|
6
|
-
* @author @pubinfo
|
|
6
|
+
* @author @pubinfo/openapi
|
|
7
7
|
*/
|
|
8
8
|
export declare function postAuthCaptchaCheck<R = API.ResponseDataValidCodeVo, T = API.ResponseDataValidCodeVo>(body: API.CaptchaCheckDto, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
|
9
9
|
/**
|
|
10
10
|
* @description 验证码-获取验证码图片
|
|
11
11
|
* @url /auth/captcha/get
|
|
12
12
|
* @method POST
|
|
13
|
-
* @author @pubinfo
|
|
13
|
+
* @author @pubinfo/openapi
|
|
14
14
|
*/
|
|
15
15
|
export declare function postAuthCaptchaGet<R = API.ResponseDataValidCodeVo, T = API.ResponseDataValidCodeVo>(body: API.CaptchaGetDto, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
|
16
16
|
/**
|
|
17
17
|
* @description 切换登录组织
|
|
18
18
|
* @url /auth/changeLoginOrg
|
|
19
19
|
* @method POST
|
|
20
|
-
* @author @pubinfo
|
|
20
|
+
* @author @pubinfo/openapi
|
|
21
21
|
*/
|
|
22
22
|
export declare function postAuthChangeLoginOrg<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(params: API.postAuthChangeLoginOrgParams, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
|
23
23
|
/**
|
|
24
24
|
* @description 判断缓存的token是否有效
|
|
25
25
|
* @url /auth/checkCacheToken
|
|
26
26
|
* @method GET
|
|
27
|
-
* @author @pubinfo
|
|
27
|
+
* @author @pubinfo/openapi
|
|
28
28
|
*/
|
|
29
29
|
export declare function getAuthCheckCacheToken<R = API.ResponseDataBoolean, T = API.ResponseDataBoolean>(params: API.getAuthCheckCacheTokenParams, options?: Parameters<typeof request.Get<R, T>>[1]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
|
30
30
|
/**
|
|
31
31
|
* @description 密码登录
|
|
32
32
|
* @url /auth/login
|
|
33
33
|
* @method POST
|
|
34
|
-
* @author @pubinfo
|
|
34
|
+
* @author @pubinfo/openapi
|
|
35
35
|
*/
|
|
36
36
|
export declare function postAuthLogin<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(body: API.LoginByPwdDto, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
|
37
37
|
/**
|
|
38
38
|
* @description 获取登录公钥
|
|
39
39
|
* @url /auth/login/key
|
|
40
40
|
* @method GET
|
|
41
|
-
* @author @pubinfo
|
|
41
|
+
* @author @pubinfo/openapi
|
|
42
42
|
*/
|
|
43
43
|
export declare function getAuthLoginKey<R = API.ResponseDataString, T = API.ResponseDataString>(options?: Parameters<typeof request.Get<R, T>>[1]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
|
44
44
|
/**
|
|
45
45
|
* @description 获取图片验证码
|
|
46
46
|
* @url /auth/login/validCode
|
|
47
47
|
* @method GET
|
|
48
|
-
* @author @pubinfo
|
|
48
|
+
* @author @pubinfo/openapi
|
|
49
49
|
*/
|
|
50
50
|
export declare function getAuthLoginValidCode<R = API.ResponseDataValidCodeVo, T = API.ResponseDataValidCodeVo>(params: API.getAuthLoginValidCodeParams, options?: Parameters<typeof request.Get<R, T>>[1]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
|
51
51
|
/**
|
|
52
52
|
* @description 验证码-密码登录
|
|
53
53
|
* @url /auth/loginNew
|
|
54
54
|
* @method POST
|
|
55
|
-
* @author @pubinfo
|
|
55
|
+
* @author @pubinfo/openapi
|
|
56
56
|
*/
|
|
57
57
|
export declare function postAuthLoginNew<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(body: API.LoginByPwdCaptchaDto, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
|
58
58
|
/**
|
|
59
59
|
* @description 登出
|
|
60
60
|
* @url /auth/loginOut
|
|
61
61
|
* @method POST
|
|
62
|
-
* @author @pubinfo
|
|
62
|
+
* @author @pubinfo/openapi
|
|
63
63
|
*/
|
|
64
64
|
export declare function postAuthLoginOut<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
|
65
65
|
/**
|
|
66
66
|
* @description 单点免密登录接口
|
|
67
67
|
* @url /auth/ssoLogin
|
|
68
68
|
* @method POST
|
|
69
|
-
* @author @pubinfo
|
|
69
|
+
* @author @pubinfo/openapi
|
|
70
70
|
*/
|
|
71
71
|
export declare function postAuthSsoLogin<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(body: API.SsoLoginDto, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
|
72
72
|
/**
|
|
73
73
|
* @description 刷新访问令牌
|
|
74
74
|
* @url /auth/token/refresh
|
|
75
75
|
* @method POST
|
|
76
|
-
* @author @pubinfo
|
|
76
|
+
* @author @pubinfo/openapi
|
|
77
77
|
*/
|
|
78
78
|
export declare function postAuthTokenRefresh<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(params: API.postAuthTokenRefreshParams, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubinfo-pr/module-captcha",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.182.
|
|
4
|
+
"version": "0.182.5",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"@ant-design/icons-vue": "^7.0.1",
|
|
24
24
|
"ant-design-vue": "^4.2.6",
|
|
25
|
-
"pubinfo-pr": "0.182.
|
|
25
|
+
"pubinfo-pr": "0.182.5"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@vueuse/core": "^13.7.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@ant-design/icons-vue": "^7.0.1",
|
|
33
33
|
"@types/crypto-js": "^4.2.2",
|
|
34
34
|
"ant-design-vue": "^4.2.6",
|
|
35
|
-
"pubinfo-pr": "0.182.
|
|
35
|
+
"pubinfo-pr": "0.182.5"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"dev": "pubinfo build -w --sourcemap",
|
|
@@ -4,7 +4,7 @@ import { auth as request } from '@/api/request';
|
|
|
4
4
|
* @description 验证码-前端校验 需要校验的验证码类型:blockPuzzle、clickWord
|
|
5
5
|
* @url /auth/captcha/check
|
|
6
6
|
* @method POST
|
|
7
|
-
* @author @pubinfo
|
|
7
|
+
* @author @pubinfo/openapi
|
|
8
8
|
*/
|
|
9
9
|
export function postAuthCaptchaCheck<
|
|
10
10
|
R = API.ResponseDataValidCodeVo,
|
|
@@ -25,7 +25,7 @@ export function postAuthCaptchaCheck<
|
|
|
25
25
|
* @description 验证码-获取验证码图片
|
|
26
26
|
* @url /auth/captcha/get
|
|
27
27
|
* @method POST
|
|
28
|
-
* @author @pubinfo
|
|
28
|
+
* @author @pubinfo/openapi
|
|
29
29
|
*/
|
|
30
30
|
export function postAuthCaptchaGet<
|
|
31
31
|
R = API.ResponseDataValidCodeVo,
|
|
@@ -43,7 +43,7 @@ export function postAuthCaptchaGet<
|
|
|
43
43
|
* @description 切换登录组织
|
|
44
44
|
* @url /auth/changeLoginOrg
|
|
45
45
|
* @method POST
|
|
46
|
-
* @author @pubinfo
|
|
46
|
+
* @author @pubinfo/openapi
|
|
47
47
|
*/
|
|
48
48
|
export function postAuthChangeLoginOrg<
|
|
49
49
|
R = API.ResponseDataLoginTokenVo,
|
|
@@ -68,7 +68,7 @@ export function postAuthChangeLoginOrg<
|
|
|
68
68
|
* @description 判断缓存的token是否有效
|
|
69
69
|
* @url /auth/checkCacheToken
|
|
70
70
|
* @method GET
|
|
71
|
-
* @author @pubinfo
|
|
71
|
+
* @author @pubinfo/openapi
|
|
72
72
|
*/
|
|
73
73
|
export function getAuthCheckCacheToken<
|
|
74
74
|
R = API.ResponseDataBoolean,
|
|
@@ -89,7 +89,7 @@ export function getAuthCheckCacheToken<
|
|
|
89
89
|
* @description 密码登录
|
|
90
90
|
* @url /auth/login
|
|
91
91
|
* @method POST
|
|
92
|
-
* @author @pubinfo
|
|
92
|
+
* @author @pubinfo/openapi
|
|
93
93
|
*/
|
|
94
94
|
export function postAuthLogin<
|
|
95
95
|
R = API.ResponseDataLoginTokenVo,
|
|
@@ -107,7 +107,7 @@ export function postAuthLogin<
|
|
|
107
107
|
* @description 获取登录公钥
|
|
108
108
|
* @url /auth/login/key
|
|
109
109
|
* @method GET
|
|
110
|
-
* @author @pubinfo
|
|
110
|
+
* @author @pubinfo/openapi
|
|
111
111
|
*/
|
|
112
112
|
export function getAuthLoginKey<
|
|
113
113
|
R = API.ResponseDataString,
|
|
@@ -122,7 +122,7 @@ export function getAuthLoginKey<
|
|
|
122
122
|
* @description 获取图片验证码
|
|
123
123
|
* @url /auth/login/validCode
|
|
124
124
|
* @method GET
|
|
125
|
-
* @author @pubinfo
|
|
125
|
+
* @author @pubinfo/openapi
|
|
126
126
|
*/
|
|
127
127
|
export function getAuthLoginValidCode<
|
|
128
128
|
R = API.ResponseDataValidCodeVo,
|
|
@@ -143,7 +143,7 @@ export function getAuthLoginValidCode<
|
|
|
143
143
|
* @description 验证码-密码登录
|
|
144
144
|
* @url /auth/loginNew
|
|
145
145
|
* @method POST
|
|
146
|
-
* @author @pubinfo
|
|
146
|
+
* @author @pubinfo/openapi
|
|
147
147
|
*/
|
|
148
148
|
export function postAuthLoginNew<
|
|
149
149
|
R = API.ResponseDataLoginTokenVo,
|
|
@@ -164,7 +164,7 @@ export function postAuthLoginNew<
|
|
|
164
164
|
* @description 登出
|
|
165
165
|
* @url /auth/loginOut
|
|
166
166
|
* @method POST
|
|
167
|
-
* @author @pubinfo
|
|
167
|
+
* @author @pubinfo/openapi
|
|
168
168
|
*/
|
|
169
169
|
export function postAuthLoginOut<
|
|
170
170
|
R = API.ResponseDataVoid,
|
|
@@ -183,7 +183,7 @@ export function postAuthLoginOut<
|
|
|
183
183
|
* @description 单点免密登录接口
|
|
184
184
|
* @url /auth/ssoLogin
|
|
185
185
|
* @method POST
|
|
186
|
-
* @author @pubinfo
|
|
186
|
+
* @author @pubinfo/openapi
|
|
187
187
|
*/
|
|
188
188
|
export function postAuthSsoLogin<
|
|
189
189
|
R = API.ResponseDataLoginTokenVo,
|
|
@@ -201,7 +201,7 @@ export function postAuthSsoLogin<
|
|
|
201
201
|
* @description 刷新访问令牌
|
|
202
202
|
* @url /auth/token/refresh
|
|
203
203
|
* @method POST
|
|
204
|
-
* @author @pubinfo
|
|
204
|
+
* @author @pubinfo/openapi
|
|
205
205
|
*/
|
|
206
206
|
export function postAuthTokenRefresh<
|
|
207
207
|
R = API.ResponseDataLoginTokenVo,
|