register Security Scheme
fun Application.registerSecurityScheme(providerName: String?, securityScheme: SecurityScheme)(source)
Registers a security scheme for an authentication provider. This metadata will be used to generate the OpenAPI specification. It's not recommended to use this method after the application has started.
Parameters
provider Name
The name of the authentication provider. Defaults to "default".
security Scheme
The OpenAPI security scheme definition.