Commit Graph

8 Commits

Author SHA1 Message Date
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
73c99e3652 Fix SignatureMethodTest to use RequestInterface. 2013-02-08 15:28:03 +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
204ec8b42f Renamed namespace to JacobKiers 2013-02-08 10:32:26 +00:00
GaryJones
a5ba220ae1 Add tests for concrete method inside abstract SignatureMethod class. 2012-11-23 12:22:04 +00:00
GaryJones
7457f612b7 Add test for NullToken. 2012-11-23 12:20:23 +00:00
GaryJones
52d9317cfd Add unit tests for signature methods, and a couple for Request. 2012-11-22 16:24:21 +00:00
GaryJones
1f05207957 Add basic client and token unit tests. 2012-11-22 13:18:56 +00:00