Authentication

class Authentication(config: Authentication.Configuration)

Authentication feature supports pluggable mechanisms for checking and challenging a client to provide credentials

Parameters

config

initial authentication configuration

Constructors

Link copied to clipboard
fun Authentication(providers: List<AuthenticationProvider>)
Link copied to clipboard
fun Authentication()
Link copied to clipboard
fun Authentication(config: Authentication.Configuration)

Types

Link copied to clipboard
class Configuration(providers: List<AuthenticationProvider>)

Authentication configuration

Link copied to clipboard

Installable feature for Authentication.

Functions

Link copied to clipboard
fun configure(block: Authentication.Configuration.() -> Unit)

Configure already installed feature

Link copied to clipboard
fun interceptPipeline(pipeline: ApplicationCallPipeline, configurationNames: List<String?> = listOf(null), optional: Boolean = false)

Configures pipeline to process authentication by one or multiple auth methods