All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.continew.continew-starter-auth-satoken.1.1.2.source-code.default-auth-satoken.yml Maven / Gradle / Ivy

--- ### Sa-Token 配置(https://sa-token.cc/doc.html#/use/config)
sa-token:
  # token 前缀(例如填写 Bearer,实际传参 token 键: Bearer xxxx-xxxx-xxxx-xxxx)
  token-prefix: Bearer
  # 是否尝试从 请求体 里读取 Token
  is-read-body: true
  # 是否尝试从 header 里读取 Token
  is-read-header: true
  # 是否尝试从 cookie 里读取 Token(此值为 false 后,StpUtil.login(id) 登录时也不会再往前端注入 Cookie,适合前后端分离模式)
  is-read-cookie: false




© 2015 - 2025 Weber Informatics LLC | Privacy Policy