challenge

var challenge: FormAuthChallenge

Deprecated: Use challenge {} instead.

A response to send back if authentication failed

fun challenge(function: FormAuthChallengeFunction): Unit

Configure challenge (response to send back) if authentication failed.

fun challenge(redirectUrl: String): Unit
fun challenge(redirect: Url): Unit

Configure redirect challenge if authentication failed