Melanty / yggdrasil-api

Please refer to https://github.com/bs-community/blessing-skin-plugins .

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/minecraft/profile/{uuid}
POST /api/yggdrasil/api/profiles/minecraft

使用方法

请参阅本项目 Wiki

版本说明

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

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

About

Please refer to https://github.com/bs-community/blessing-skin-plugins .

License:MIT License


Languages

Language:PHP 92.2%Language:HTML 4.9%Language:TypeScript 2.9%