PHP Class Ouzo\Csrf\CsrfProtector

Afficher le fichier Open project: letsdrink/ouzo Class Usage Examples

Méthodes publiques

Méthode Description
getCsrfToken ( )
isMethodProtected ( $method )
protect ( Controller $controller )
validate ( )

Private Methods

Méthode Description
_throwException ( )
generateCsrfToken ( )

Method Details

getCsrfToken() public static méthode

public static getCsrfToken ( )

isMethodProtected() public static méthode

public static isMethodProtected ( $method )

protect() public static méthode

public static protect ( Controller $controller )
$controller Ouzo\Controller

validate() public static méthode

public static validate ( )