Overview

Namespaces

  • Racoon
    • Api
      • Auth
      • Exception
      • Response
        • Format
        • Generate
      • Schema

Classes

  • Racoon\Api\App
  • Racoon\Api\Auth\ApiKeyAuthenticator
  • Racoon\Api\Auth\NoAuthenticator
  • Racoon\Api\Controller
  • Racoon\Api\Request
  • Racoon\Api\Response\Format\JsonFormatter
  • Racoon\Api\Response\Generate\DetailedResponse
  • Racoon\Api\Schema\Item
  • Racoon\Api\Schema\Schema
  • Racoon\Api\Schema\Translator

Interfaces

  • Racoon\Api\Auth\AuthInterface
  • Racoon\Api\Response\Format\FormatterInterface
  • Racoon\Api\Response\Generate\GeneratorInterface

Exceptions

  • Racoon\Api\Exception\AuthenticationException
  • Racoon\Api\Exception\Exception
  • Racoon\Api\Exception\InvalidArgumentException
  • Racoon\Api\Exception\InvalidJsonException
  • Racoon\Api\Exception\InvalidRouteException
  • Racoon\Api\Exception\NotFoundException
  • Racoon\Api\Exception\ResponseFormattingException
  • Overview
  • Namespace
  • Class
 1: <?php
 2: 
 3: namespace Racoon\Api\Auth;
 4: 
 5: 
 6: use Racoon\Api\Exception\AuthenticationException;
 7: use Racoon\Api\Request;
 8: 
 9: /**
10:  * An Authenticator that allows everyone through.
11:  * Class ApiKeyAuthenticator
12:  * @package Racoon\Api\Auth
13:  */
14: class NoAuthenticator implements AuthInterface
15: {
16: 
17:     /**
18:      * @param Request $request
19:      * @return bool
20:      * @throws AuthenticationException
21:      */
22:     public function authenticate(Request $request)
23:     {
24:         return true;
25:     }
26: 
27: }
API documentation generated by ApiGen