Redirect

class Redirect(url: ApplicationCall.(UserPasswordCredential?) -> String) : FormAuthChallenge

Redirect to an URL provided by the given function.

Constructors

Link copied to clipboard
fun Redirect(url: ApplicationCall.(UserPasswordCredential?) -> String)

Properties

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

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