Overview

Namespaces

  • Coast
    • App
      • Access
      • Executable
    • Controller
    • Csrf
    • Dir
    • Feed
    • File
    • Filter
      • Rule
    • Http
    • Image
    • Model
      • Exception
    • Resolver
    • Router
    • Sitemap
    • Transformer
      • Rule
    • Validator
      • Rule
    • View

Classes

  • Acl
  • App
  • Coast
  • Collection
  • Config
  • Controller
  • Csp
  • Csrf
  • Dir
  • Feed
  • File
  • Filter
  • Http
  • Image
  • Lazy
  • Model
  • Path
  • Request
  • Resolver
  • Response
  • Router
  • Session
  • Sitemap
  • Transformer
  • Url
  • Validator
  • View
  • Xml

Exceptions

  • Exception
  • Overview
  • Namespace
  • Class
  • Deprecated
  • Todo

Class Csrf

Coast\Csrf implements Coast\App\Executable, Coast\App\Access uses Coast\App\Access\Implementation, Coast\App\Executable\Implementation
Namespace: Coast
Located at Csrf.php
Methods summary
public
# __construct( array $options = array() )
public
# name( $name = null )
public
# methods( array $methods = null )
public
# token( )
public
# regenerate( )
public
# isValid( $token, $throw = false )
public
# input( )
public
# execute( Coast\Request $req, Coast\Response $res )

Implementation of

Coast\App\Executable::execute()
Methods inherited from Coast\App\Executable
postExecute(), preExecute()
Methods inherited from Coast\App\Access
__call(), __get(), __isset(), __set(), __unset(), app()
Methods used from Coast\App\Access\Implementation
__call(), __get(), __isset(), __set(), __unset(), app()
Methods used from Coast\App\Executable\Implementation
postExecute(), preExecute()
Properties summary
protected string $_name
# 'csrf'
protected array $_methods
# [ Request::METHOD_PUT, Request::METHOD_POST, Request::METHOD_DELETE, ]
Properties used from Coast\App\Access\Implementation
$_app
Coast API Documentation API documentation generated by ApiGen