SessionAuthChallenge

sealed class SessionAuthChallenge<in T : Any>

Specifies what to send back if authentication fails.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
object Ignore : SessionAuthChallenge<Any>

Does nothing so other authentication methods could provide their challenges. This is the default and recommended way

Link copied to clipboard
class Redirect<in T : Any>(url: ApplicationCall.(T?) -> String) : SessionAuthChallenge<T>

Redirect to an URL provided by the given function.

Link copied to clipboard
object Unauthorized : SessionAuthChallenge<Any>

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard