Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[proposal] 角色改名后将令牌标记为暂时失效 #40

Closed
yushijinhun opened this issue Feb 3, 2019 · 3 comments
Closed

[proposal] 角色改名后将令牌标记为暂时失效 #40

yushijinhun opened this issue Feb 3, 2019 · 3 comments

Comments

@yushijinhun
Copy link
Owner

这一提案要求验证服务器在角色改名后,将所有绑定在该角色上的令牌标记为暂时失效状态。这样之后,当启动器进行凭证有效性确认时,就会进行刷新令牌的操作,进而感知到角色名称发生了变化。


欢迎诸位就本提案提出意见。

@yushijinhun
Copy link
Owner Author

我尝试了下 Mojang 的改名(感谢 @YukiCoco 提供的账户),发现改名之后 token 依然有效(validate 操作返回 204),所以这和我的想法不太一样—— Mojang 不是通过吊销 token 来让启动器刷新玩家名字的。

不知是否有官启用户尝试过改名?我想了解下改名之后官起会有什么动作。

@yushijinhun
Copy link
Owner Author

经过测试,在改名后将令牌标记为暂时失效确实可以让官启(Minecraft Launcher 1.6.91)刷新玩家名字。(尽管 Mojang 不会这么做)

I have tested that marking the token temporarily invalid after changing character name will make the official launcher (Minecraft Launcher 1.6.91) refresh the character name. (but Mojang will not do this)

@yushijinhun
Copy link
Owner Author

Wiki 已更新:e03fae89e106256c705ba95c3f4ca6e466706888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant