challenge

fun challenge(block: SessionAuthChallengeFunction<T>)
fun challenge(redirectUrl: String)
fun challenge(redirect: Url)

Specifies a response to send back if authentication failed.