is there an api for automatic auth checking? somet...
# ktor
d
is there an api for automatic auth checking? something like
Copy code
authRequired {
            get("news"){...}
            post("post"){...}
        }

        // auth not required
        get("users"){...}
        post("login"){...}
i need something similar to magic annotation aka
@AuthRequired
in classical frameworks