认证 用于Mojang Yggdrasil的Minecraft PHP身份验证( )身份验证方案 安装 composer require mattiabasone/mc-auth 例: 创建新的MCAuth对象 $ MCAuth = new MCAuth \ Api (); 认证方式: try { $ account = $ MCAuth -> sendAuth ( "myemail@example.org" , "mypassword" ); var_dump ( $ account ); } catch ( Exception $ e ) { echo $
1