Tech
AfterAuthentication
object ScopesChecked : Hook<suspend (ApplicationCall) -> Unit> { private val AfterAuthenticationPhase: PipelinePhase = PipelinePhase("AfterAuthentication") override fun install( pipeline: ApplicationCallPipeline, handler: suspend (ApplicationCall) -> Unit ) { // Intercept the after auth and handle our own phase pipeline.intercept(AfterAuthenticationPhase) { handler(call) } } }
BeforeSetup Setup Monitoring Plugins BeforeCall Call BeforeFallback Fallback
Aleksei Tirman [JB]
ApplicationCallPipeline.Plugins
A modern programming language that makes developers happier.