POST /internal/identity/verify-password

验证用户密码是否正确,返回验证结果及用户ID

身份认证 None application/json

请求体

Schema: service-identity/internal/handler/dto.VerifyPasswordRequest

字段类型必填示例约束描述
identifier string 是 Identifier
password string 是 Password

响应

引用的 Schema

service-identity/internal/handler/dto.VerifyPasswordData

字段类型必填示例约束描述
user_id string 否
valid boolean 否

service-identity/internal/handler/dto.VerifyPasswordResponse

字段类型必填示例约束描述
code integer 否
data service-identity/internal/handler/dto.VerifyPasswordData 否
message string 否
timestamp string 否