https://kotlinlang.org logo
#ktor
Title
# ktor
r

Rodrigo Silva

06/27/2022, 8:53 PM
Hello everybody. Is there something already "ready" to add roles to routes that need authentication? Like :
authenticate {
("need_admin_role or user_role")
post("/some_route) { @TODO }
}
e

ESchouten

06/28/2022, 5:06 AM