ServiceStack/ServiceStack — pull request #849 by bojanv55 (2013-10-16 22:02:42+00:00)
Title: Patch 4

Possibility to specify redirect parameter name like this (on the bottom - HtmlRedirectParam):

Plugins.Add(new AuthFeature(
container.Resolve,
new IAuthProvider[] {
new CredentialsAuthProvider()
})
{
ServiceRoutes = new Dictionary
{
{typeof(AuthenticateService), new[] { "/autentifikacija", "/autentifikacija/{provider}" }},
{typeof(AssignRolesService), new[] {"/dodajugrupu"}},
{typeof(UnAssignRolesService), new[] {"/ukloniizgrupe"}}
},
HtmlRedirect = "~/a/Home/Prijava",
HtmlRedirectParam = "redirekcija"
});