Ktor
Toggle table of contents
3.2.x
Select version
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
common
Platform filter
common
Switch theme
Search in API
Ktor
ktor-server-auth
/
io.ktor.server.auth
/
SessionAuthenticationProvider
/
Config
/
challenge
challenge
fun
challenge
(
block
:
SessionAuthChallengeFunction
<
T
>
)
(
source
)
fun
challenge
(
redirectUrl
:
String
)
(
source
)
fun
challenge
(
redirect
:
Url
)
(
source
)
Specifies a response to send back if authentication failed.
Report a problem