registerBasicAuthSecurityScheme

fun Application.registerBasicAuthSecurityScheme(name: String? = null, description: String = HttpSecurityScheme.DEFAULT_BASIC_DESCRIPTION)(source)

Registers a Basic HTTP authentication security scheme.

Report a problem

Parameters

name

The name of the security scheme. Defaults to "default".

description

Optional description for the security scheme. Defaults to "HTTP Basic Authentication".