Package-level declarations
Types
Link copied to clipboard
object ApiKeyAuth
Constants related to API Key authentication.
Link copied to clipboard
Alias for function signature that is called when authentication fails.
Link copied to clipboard
Alias for function signature that is invoked when verifying an API key from a header.
Link copied to clipboard
Represents an API Key authentication provider.
Link copied to clipboard
Configures a typed API key authentication scheme with principal type P.
Functions
Link copied to clipboard
inline fun <P : Any> apiKey(name: String, configure: TypedApiKeyAuthConfig<P>.() -> Unit): SimpleAuthenticationScheme<P>
Creates a typed API key authentication scheme with principal type P.
Link copied to clipboard
fun AuthenticationConfig.apiKey(name: String? = null, configure: ApiKeyAuthenticationProvider.Configuration.() -> Unit)
fun AuthenticationConfig.apiKey(name: String? = null, description: String? = null, configure: ApiKeyAuthenticationProvider.Configuration.() -> Unit)
Installs an API Key authentication mechanism.