XsrfTokenSupport

Companion:
object
class Object
trait Matchable
class Any

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.

def xsrfToken(implicit request: HttpServletRequest): String

Returns the token from the session.

Returns the token from the session.