ktor-auth-jwt / io.ktor.auth.jwt / JWTAuthenticationProvider / Configuration / challenge

challenge

fun challenge(block: JWTAuthChallengeFunction): Unit

Specifies what to send back if jwt authentication fails.