Skip to content
Custom yggdrasil api for making a fake Mojang authentication service. Shipped as a plugin for Blessing Skin.
PHP Vue JavaScript HTML
Branch: master
Clone or download
Latest commit d6fa362 Dec 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets adapt for bs v5 Dec 8, 2019
src adapt for bs v5 Dec 8, 2019
views adapt for bs v5 Dec 8, 2019
.babelrc Remove datatables Apr 9, 2019
.gitignore Adapt for BS v4 Sep 9, 2018
CHANGELOG.md adapt for bs v5 Dec 8, 2019
LICENSE Add GPLv3 license Feb 14, 2018
README.md
bootstrap.php adapt for bs v5 Dec 8, 2019
callbacks.php fix Sep 9, 2019
package.json
routes.php Remove getting profile from username Feb 14, 2018
webpack.config.js Remove datatables Apr 9, 2019

README.md

Yggdrasil API for Blessing Skin

本插件基本实现了 Yggdrasil API 规范,可与 authlib-injector 等 authlib hook 配合使用实现外置登录系统。

API 路由

routes.php

# Authentication
POST /api/yggdrasil/authserver/authenticate
POST /api/yggdrasil/authserver/refresh
POST /api/yggdrasil/authserver/validate
POST /api/yggdrasil/authserver/invalidate
POST /api/yggdrasil/authserver/signout

# Session
POST /api/yggdrasil/sessionserver/session/minecraft/join
GET  /api/yggdrasil/sessionserver/session/minecraft/hasJoined

# Profiles
GET  /api/yggdrasil/sessionserver/session/profile/{uuid}
POST /api/yggdrasil/api/profiles/minecraft

使用方法

请参阅本项目 Wiki

版本说明

本插件的更新日志可以在这里查看:CHANGELOG

注意,v2.0.0 版本之后的插件不再支持 authlib-agent

You can’t perform that action at this time.