Token

io.eezo.http.Csrf.Token
object Token

Attributes

Source
Csrf.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Token.type

Members list

Value members

Concrete methods

def gen(): Token

32 bytes from SecureRandom, as base64url. Public because a test that renders a form outside a request needs one, and a token minted outside a session protects nothing and reveals nothing.

32 bytes from SecureRandom, as base64url. Public because a test that renders a form outside a request needs one, and a token minted outside a session protects nothing and reveals nothing.

Attributes

Source
Csrf.scala

Extensions

Extensions

extension (token: Token)
def value: String

Attributes

Source
Csrf.scala