package net.siegeln.cameleer.saas.config;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/api/health")
public class HealthController {

    @GetMapping("/secured")
    public ResponseEntity<Map<String, String>> secured() {
        return ResponseEntity.ok(Map.of("status", "authenticated"));
    }
}
