defaultSuccessUrl

fun defaultSuccessUrl(defaultSuccessUrl: String, alwaysUse: Boolean)

Specifies where users will be redirected after authenticating successfully if they have not visited a secured page prior to authenticating or alwaysUse is true.

Parameters

defaultSuccessUrl

the default success url

alwaysUse

true if the defaultSuccessUrl should be used after authentication despite if a protected page had been previously visited