Permalink
Commits on Mar 14, 2018
  1. Merge pull request #112 from koriym/refactor

    koriym committed Mar 14, 2018
    Refactor
  2. remove tests/bootstrap.php

    koriym committed Mar 14, 2018
  3. update composer.json

    koriym committed Mar 14, 2018
  4. native function invocation

    koriym committed Mar 14, 2018
  5. update .php.cs

    koriym committed Mar 14, 2018
  6. ignore .php_cs.cache

    koriym committed Mar 14, 2018
  7. declare(strict_types=1)

    koriym committed Mar 14, 2018
  8. add demo test in .travis.yml

    koriym committed Mar 14, 2018
  9. refactor demo code

    koriym committed Mar 14, 2018
Commits on Mar 13, 2018
  1. fix cs

    koriym committed Mar 13, 2018
  2. remove redundant parameter

    koriym committed Mar 13, 2018
  3. update .travis.yml

    koriym committed Mar 13, 2018
  4. fix phpdoc

    koriym committed Mar 13, 2018
  5. fix tests/ namespace

    koriym committed Mar 13, 2018
  6. update composer.json

    koriym committed Mar 13, 2018
  7. update phpunit.xml

    koriym committed Mar 13, 2018
  8. update composer.json

    koriym committed Mar 13, 2018
    add phpstan test
Commits on Jan 10, 2018
  1. year 2018

    koriym committed Jan 10, 2018
Commits on Oct 12, 2017
  1. Merge pull request #111 from ryo88c/prevent-overwrite-status-code

    koriym committed Oct 12, 2017
    Allow the `WWW-Authenticate` header field in other response than 401.
Commits on Oct 6, 2017
  1. Allow the `WWW-Authenticate` header field in other response than 401.

    ryo88c committed Oct 6, 2017
    Passing `WWW-Authenticate` to `header()` overwrites the status code to 401.
    
    https://github.com/php/php-src/blob/a51cb393b1accc29200e8f57ef867a6a47b2564f/ain/SAPI.c#L829
    
    According to RFC it is said that it is also possible to include `WWW-Authenticate` in status codes other than 401.
    
    https://tools.ietf.org/html/rfc7235#page-7
    
    > A server MAY generate a WWW-Authenticate header field in other response.
    
    Since OAuth 2.0 Bearer writes its contents in `WWW-Authenticate` header even for errors other than 401, the original status code is applied after the status code reaches 401 by inserting the `WWW-Authenticate` header field is necessary.
    
    https://tools.ietf.org/html/rfc6750#page-9
Commits on Aug 25, 2017
  1. update description

    koriym committed Aug 25, 2017
Commits on Aug 21, 2017
  1. update composer.json

    koriym committed Aug 21, 2017
Commits on Aug 20, 2017
  1. Update README.md

    koriym committed Aug 20, 2017
  2. Merge pull request #110 from koriym/cleanup

    koriym committed Aug 20, 2017
    Cleanup
  3. move to /example

    koriym committed Aug 20, 2017
  4. year 2017

    koriym committed Aug 20, 2017
  5. update meta file

    koriym committed Aug 20, 2017
  6. update composer.json

    koriym committed Aug 20, 2017
  7. remove use sentence

    koriym committed Aug 20, 2017