AuthenticationPipeline

class AuthenticationPipeline(developmentMode: Boolean) : Pipeline<AuthenticationContext, ApplicationCall>

Represents authentication Pipeline for checking and requesting authentication

Constructors

Link copied to clipboard
fun AuthenticationPipeline(developmentMode: Boolean = false)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun addPhase(phase: PipelinePhase)
Link copied to clipboard
open fun afterIntercepted()
Link copied to clipboard
suspend fun execute(context: ApplicationCall, subject: AuthenticationContext): AuthenticationContext
Link copied to clipboard
fun insertPhaseAfter(reference: PipelinePhase, phase: PipelinePhase)
Link copied to clipboard
fun insertPhaseBefore(reference: PipelinePhase, phase: PipelinePhase)
Link copied to clipboard
fun intercept(phase: PipelinePhase, block: suspend PipelineContext<AuthenticationContext, ApplicationCall>.(AuthenticationContext) -> Unit)
Link copied to clipboard
fun merge(from: Pipeline<AuthenticationContext, ApplicationCall>)

Properties

Link copied to clipboard
val attributes: Attributes
Link copied to clipboard
open override val developmentMode: Boolean = false
Link copied to clipboard
val isEmpty: Boolean
Link copied to clipboard
val items: List<PipelinePhase>