public function nonce() { if (!isset($this->_nonce)) { $this->_nonce = \Coast\str_random(); } return $this->_nonce; }
public function regenerate() { $_SESSION['__Coast\\Csrf']['token'] = \Coast\str_random(); return $this; }