Maybe it could be a Feature where I could install ...
# ktor
j
Maybe it could be a Feature where I could install and configure the feature and gain access to it from the ApplicationCall?
o
Exactly, see how Authentication works. You install a feature, and it puts its properties into Attributes of a call.
j
Can you point to where it puts the properties into the Attributes. It's a little daunting looking at all the Auth code. 🙂
I think I see how authenticate creates a new pipeline phase, but not so sure how to intercept the ApplicationCallPipeline.Call in order to inject into it.
Line 18 to intercept call and put data in attributes, line 27 to have an extension property and retrieve data