> ## Documentation Index
> Fetch the complete documentation index at: https://lmm.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 刷新面板登录

> 使用 HttpOnly Refresh Cookie 轮换刷新令牌并返回新的 AuthBundle；SESSION_COOKIE_SECURE=true 时要求同源或可信 Origin，false/未配置时保持本地 HTTP 兼容模式。已有内存会话时通过 X-Auth-Session 绑定预期 SID，Cookie 不匹配返回 409 AUTH_SESSION_MISMATCH 且不修改 Cookie。



## OpenAPI

````yaml /docs/openapi/api.json post /api/user/auth/refresh
openapi: 3.0.1
info:
  title: 后台管理接口
  description: ''
  version: 1.0.0
servers:
  - url: https://api.lmm.best
    description: 生产环境
security:
  - Combination343: []
  - Combination1243: []
tags:
  - name: 系统
  - name: 用户登陆注册
    x-group: 登录与注册
  - name: OAuth
  - name: 用户管理
  - name: 充值
  - name: 两步验证
  - name: 安全验证
  - name: 渠道管理
  - name: 令牌管理
  - name: 兑换码
  - name: 日志
  - name: 数据统计
  - name: 分组
  - name: 任务
  - name: 供应商
  - name: 模型管理
  - name: 系统设置
paths:
  /api/user/auth/refresh:
    post:
      tags:
        - 用户登陆注册
      summary: 刷新面板登录
      description: >-
        使用 HttpOnly Refresh Cookie 轮换刷新令牌并返回新的
        AuthBundle；SESSION_COOKIE_SECURE=true 时要求同源或可信 Origin，false/未配置时保持本地
        HTTP 兼容模式。已有内存会话时通过 X-Auth-Session 绑定预期 SID，Cookie 不匹配返回 409
        AUTH_SESSION_MISMATCH 且不修改 Cookie。
      parameters:
        - name: X-Auth-Session
          in: header
          description: 可选的预期登录会话 SID；冷启动时可省略
          required: false
          schema:
            type: string
      responses:
        '200':
          description: 成功
          headers: {}
        '409':
          description: X-Auth-Session 与 Refresh Cookie 的 SID 不一致；不修改 Cookie 或会话
          headers: {}
      deprecated: false
      security: []
components: {}

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.