abstract classLocPathParam[ParamType, T <: Box[PathParam[ParamType]]] extends LocParam[T]
case classPathParam[ParamType](func: PartialFunction[Boolean, Box[ParamType]], auth: (ParamType) ⇒ Boolean)(implicit paramTypeTag: scala.reflect.api.JavaUniverse.TypeTag[ParamType]) extends Product with Serializable
Abstract away the complexity of boxing/unboxing param values for locations that should be
available for things like autologin.
Abstract away the complexity of boxing/unboxing param values for locations that should be
available for things like autologin. By default, a location is undefined if its
value cannot be determined. When a user is not logged in, the param's value may not be available
because we use the current user's session information for data retrieval. We work around this by
providing a simplified data lookup for non-logged in users and then authenticate the
data once the user has logged in.
The flip-side to this is that there is an additional method that must be included
on the snippets that use the location's parameter(s).
func
Function for retrieving the value of the Param based on the current
user's authentication status
case classPathParamLink[PT, T <: Box[PathParam[PT]]](calcUrl: (PT) ⇒ String)(implicit ptm: Manifest[PT]) extends LocPathParam[PT, T] with Product with Serializable
case classPathParamTitle[PT, T <: Box[PathParam[PT]]](calcTitle: (PT) ⇒ String)(implicit ptm: Manifest[PT]) extends LocPathParam[PT, T] with Product with Serializable
Abstract away the complexity of boxing/unboxing param values for locations that should be available for things like autologin. By default, a location is undefined if its value cannot be determined. When a user is not logged in, the param's value may not be available because we use the current user's session information for data retrieval. We work around this by providing a simplified data lookup for non-logged in users and then authenticate the data once the user has logged in.
The flip-side to this is that there is an additional method that must be included on the snippets that use the location's parameter(s).
Function for retrieving the value of the Param based on the current user's authentication status
Check that user has access to the param value.
net.amullins.liftkit.routing.params.PathParamAuth