registerJWTSecurityScheme
fun Application.registerJWTSecurityScheme(name: String? = null, description: String = HttpSecurityScheme.DEFAULT_JWT_DESCRIPTION)(source)
Registers a JWT Bearer authentication security scheme.
Parameters
name
The name of the security scheme. Defaults to "default".
description
Optional description for the security scheme. Defaults to HttpSecurityScheme.DEFAULT_JWT_DESCRIPTION.