Commit Graph

10 Commits

Author SHA1 Message Date
David Macek 3ef8e25bdb Fix variable name when creating an "invalid token" exception 2015-07-16 15:53:27 +02:00
victorbjelkholm da8c3c46c5 Remove parameter should be passed reference 2013-11-19 20:54:56 +01:00
Jacob Kiers 6677c1da7d The output of Server::verifyToken is now a hash. 2013-02-15 12:09:56 +00:00
Jacob Kiers 8bd355f556 Use Interfaces anywhere.
In practice, there were still too many concrete classes, which makes
integration into a framework hard. To overcome this, the codebase has
been refactored to use Interfaces when a resource is needed.

All necessary Interfaces have been created, and the existing concrete
classes now implement these interfaces.
2013-02-11 14:02:14 +00:00
Jacob Kiers 4e6cc6c811 Bugfix in Server and CS Fixes. 2013-02-11 09:30:45 +00:00
Jacob Kiers 646e466639 Also use RequestInterface in Signature Methods. 2013-02-08 15:26:42 +00:00
Jacob Kiers e8edc17196 Have the Server use RequestInterface. 2013-02-08 15:14:38 +00:00
Jacob Kiers be09ba0216 Added RequestInterface to make integration easier.
Since now only a RequestInterface is needed instead of a Request object,
it becomes easier to use the Server component with a different Request
object, such as the Symfony or Zend Framework Request objects.

This will now only need a small wrapper, instead of extending and
rewriting the existing Request object.
2013-02-08 10:57:53 +00:00
Jacob Kiers c471cd2b8d Renamed DataStore to DataStoreInterface
Also, the Interface now contains comments on the expected return values.
2013-02-08 10:37:21 +00:00
Jacob Kiers 204ec8b42f Renamed namespace to JacobKiers 2013-02-08 10:32:26 +00:00