ktor-auth / io.ktor.auth / Authentication / Configuration / provider

provider

fun provider(name: String? = null, configure: Configuration.() -> Unit): Unit

Register a provider with the specified name and configure it

Exceptions

IllegalArgumentException - if there is already provider installed with the same name