Redirect

class Redirect<in T : Any> : SessionAuthChallenge<T>

Redirect to an URL provided by the given function.

Constructors

<init>

Redirect(url: ApplicationCall.(T?) -> String)

Redirect to an URL provided by the given function.

Properties

url

val url: ApplicationCall.(T?) -> String

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