# ================== Auth 认证服务配置 ==================
server:
  port: 8081

spring:
  application:
    name: auth-service

# ================== Auth ==================
auth:
  enabled: false  # 认证服务自己不需要认证
  gateway-mode: false
  whitelist:
    - /**

# ================== SpringDoc ==================
springdoc:
  group-configs:
    - group: 'default'
      display-name: '认证服务 API'
      paths-to-match: '/**'

# ================== Dubbo ==================
dubbo:
  application:
    name: urban-lifeline-auth
    qos-enable: false
  scan:
    base-packages: org.xyzh.auth.service.impl

# ================== JWT ==================
jwt:
  secret: ${JWT_SECRET:urban-lifeline-secret-key-2025-xyzh}
  expiration: 86400  # 24小时（秒）
  refresh-expiration: 604800  # 7天（秒）
