David Stibbe
04/17/2022, 3:08 PMAuthentication.Feature.AuthenticatePhase phase. However, this phase does not exist anymore. According to the documentation there is a CheckAuthentication phase. Is there a specific constant that identifies this phase so I can register our plugin after this specific phase?Rustam Siniukov
04/18/2022, 8:21 AMAuthenticationChecked hook for that. You can use it in the new API with on(AuthenticationChecked) { ... or manually call AuthenticationChecked.install(pipeline) { ... } if you don’t want to migrate your plugin yetDavid
04/18/2022, 8:25 AMDavid Stibbe
04/18/2022, 9:05 AMAuthenticationChecked.install(...) approach, because I'm working on a configuration call upon a route. However, I do wonder: in the install context, how do I indicate the pipeline is finished (i.e. should abort all ) when all that I have is the ApplcationCall ? Is there some way to obtain the PipelineContext ?David Stibbe
04/18/2022, 9:10 AMcall.isHandled achieve the sameDavid Stibbe
04/18/2022, 9:10 AMDavid Stibbe
04/18/2022, 8:52 PMRustam Siniukov
04/19/2022, 11:24 AMDavid Stibbe
04/19/2022, 6:33 PMforRole command, limiting that route to the given role. This method will configure a check on the pipeline with the before mentioned predicate and the given role.