XsrfTokenSupport

org.scalatra.XsrfTokenSupport
See theXsrfTokenSupport companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def xsrfGuard(only: RouteTransformer*): Unit
def xsrfKey: String

The key used to store the token on the session, as well as the parameter of the request.

The key used to store the token on the session, as well as the parameter of the request.

Attributes

def xsrfToken(implicit request: HttpServletRequest): String

Returns the token from the session.

Returns the token from the session.

Attributes