GET /auth/captcha/challenge
获取PoW或Turnstile CAPTCHA挑战,用于登录等需要人机验证的场景。返回挑战ID和数据,前端求解后随登录请求提交。用于防止自动化攻击和暴力破解。
身份认证 None application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
provider |
query |
string |
No |
pow |
|
enum: `pow`, `turnstile` |
CAPTCHA提供商 |
Referenced Schemas
gitee_com_linmes_authms_base_dto.DataResponse-any
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
object |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|