class Authentication
Authentication feature supports pluggable mechanisms for checking and challenging a client to provide credentials
config
- initial authentication configuration
class Configuration
Authentication configuration |
|
companion object Feature : ApplicationFeature<Application, Configuration, Authentication>
Installable feature for Authentication. |
Authentication(providers: List<AuthenticationProvider>) Authentication() Authentication(config: Configuration)
Authentication feature supports pluggable mechanisms for checking and challenging a client to provide credentials |
fun configure(block: Configuration.() -> Unit): Unit
Configure already installed feature |
|
fun interceptPipeline(pipeline: ApplicationCallPipeline, configurationNames: List<String?> = listOf(null), optional: Boolean = false): Unit
Configures pipeline to process authentication by one or multiple auth methods |
val AuthenticatePhase: PipelinePhase
Authenticate phase in that authentication procedures are executed. Please note that referring to the phase is only possible after feature installation. |
|
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. |
|
val key: AttributeKey<Authentication> |
fun install(pipeline: Application, configure: Configuration.() -> Unit): Authentication |