apiKey
fun AuthenticationConfig.apiKey(name: String? = null, configure: ApiKeyAuthenticationProvider.Configuration.() -> Unit)(source)
Installs an API Key authentication mechanism.
Parameters
name
optional name for this authentication provider. If not specified, a default name will be used.
configure
configuration block for setting up the API Key authentication provider.
fun AuthenticationConfig.apiKey(name: String? = null, description: String? = null, configure: ApiKeyAuthenticationProvider.Configuration.() -> Unit)(source)
Installs an API Key authentication mechanism.
Parameters
name
optional name for this authentication provider. If not specified, a default name will be used.
description
optional description for this authentication provider.
configure
configuration block for setting up the API Key authentication provider.