MetaCubeX / mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
https://wiki.metacubex.one
MIT License
16.84k stars 2.67k forks source link

[Feature] Expanding InUser or adding InAuthUser in metadata #1624

Closed xzycn closed 3 weeks ago

xzycn commented 3 weeks ago

验证步骤

描述

Hi, we see there has a InUser in metadata struct,but sometimes we need know what's password in incoming connection not only username.

Can we get a authuser like below from metadata,thanks.

type AuthUser struct {
    User string
    Pass string
}
xzycn commented 3 weeks ago

@xishang0128 Hi, what's the problem here?

xishang0128 commented 3 weeks ago

@xzycn 使用了中文模板