ktor-auth / io.ktor.auth / Authentication / Feature

Feature

companion object Feature : ApplicationFeature<Application, Configuration, Authentication>

Installable feature for Authentication.

Companion Object Properties

AuthenticatePhase

val AuthenticatePhase: PipelinePhase

Authenticate phase in that authentication procedures are executed. Please note that referring to the phase is only possible after feature installation.

ChallengePhase

val ChallengePhase: PipelinePhase

Authenticate phase in that auth provider's challenges performing. Please note that referring to the phase is only possible after feature installation.

key

val key: AttributeKey<Authentication>

Companion Object Functions

install

fun install(pipeline: Application, configure: Configuration.() -> Unit): Authentication