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

miha-x64

12/31/2018, 1:10 PM
Also, from auth examples
Copy code
authentication {
    basic/digest("someName") { ... }
}
...
authenticate("someName")
why on earth not use static typing and symbol resolving? For instance:
Copy code
val someAuth = basicAuth { ... }
...
authenticate(someAuth) { ... }
o

orangy

12/31/2018, 2:26 PM
Scope
m

miha-x64

01/02/2019, 9:19 AM
authentication
is an extension to
Application
, so it's 'top-level', if compared to routes
6 Views