sample-ktor.md 517 B


id: sample-ktor
title: Ktor项目集成

sidebar_label: Ktor项目集成

ktor-sureness例子项目仓库地址

  • 基于ktor, servlet
  • 从默认的配置文件sureness.yml加载账户信息,资源角色,过滤资源等信息
  • 使用默认的sureness-config
  • 使用默认的JWT, Basic Auth, Digest Auth方式认证鉴权
  • 例子中包含REST API
  • 保护入口: Application.kt
  • 推荐使用postman测试