Function scl_core::auth::auth_mojang
source · pub async fn auth_mojang(
_ctx: Option<impl Reporter>,
username: &str,
password: &Password,
client_token: &str
) -> Result<AuthMethod>
Expand description
进行 Mojang 正版验证
此验证方式已经弃用,请开发者建议用户迁移到 Microsoft 账户后使用 [crate::auth::microsoft::start_auth
] 进行 Microsoft 正版验证