Redirect

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

Redirect to an URL provided by the given function.

Constructors

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

Properties

Link copied to clipboard
val url: ApplicationCall.(T?) -> String

is a function receiving ApplicationCall and UserPasswordCredential and returning an URL to redirect to.