configureAuth

fun Application.configureAuth(onValidateUser: suspend (MiddlewareUserParameters) -> Boolean)

Configure the authentication plugin.