Hello all. how do I create a createApplicationPlug...
# ktor
r
Hello all. how do I create a createApplicationPlugin, which runs after the authentication phase?
r
Copy code
on(AuthenticationChecked) {
  val principal = call.principal<Principal>()
  ...
}
r
Hello @Rustam Siniukov, I'm still lost. I want to do something like this
Copy code
authenticate {
   my_other_authentication("admin" ) {
      routes....
    }
}