miha-x64
12/31/2018, 1:10 PMauthentication {
basic/digest("someName") { ... }
}
...
authenticate("someName")
why on earth not use static typing and symbol resolving? For instance:
val someAuth = basicAuth { ... }
...
authenticate(someAuth) { ... }
orangy
miha-x64
01/02/2019, 9:19 AMauthentication
is an extension to Application
, so it's 'top-level', if compared to routes