lib/private/Security/CSRF/CsrfTokenManager.php
/**
	 * Invalidates any current token and sets a new one.
	 *
	 * @return CsrfToken
	 */
Invalidates any current token and sets a new one.
Invalidates any current token and sets a new one .
public function refreshToken() {
		$value = $this->tokenGenerator->generateToken();
		$this->sessionStorage->setToken($value);
		$this->csrfToken = new CsrfToken($value);
		return $this->csrfToken;
	}
public function refreshToken ( ) { $ value = $ this -> tokenGenerator -> generateToken ( ) ; $ this -> sessionStorage -> setToken ( $ value ) ; $ this -> csrfToken = new CsrfToken ( $ value ) ; return $ this -> csrfToken ; }
Invalidates any current token and sets a new one.
Invalidates any current token and sets a new one .