Fixed bug in JWTBearer Grant Type where the decoding key for the JWT is not included in the clientData array.
Formatting.
Added test for testing clients that do not have a JWT decoding key associated with it.
Renamed misleading variables and fixed comments.
Fixed formatting.
matching headers with spec when token is returned
validateClientData in JWTBearer grant type now throws exceptions because the errors can only be triggered by developer error.
Changed to LogicException.
Added syntax highlighting to all php code
Remove check for the ClientCredentials storage type because grant types that uses ClientAssertionType does not require it.
Remove typing for ClientCredentials storage interface in the grant controller.
Updated creating an instance of the GrantedController to not force the client_credentials storage.
JWT grant type should take all parameters using POST, not GET.
Updated JWT tests so that test data is passed in via POST and not GET.
Removed setJWT() as it does not provide any useful functionality and added variable to store undecoded JWT.
Updated test public/private keys to correct format to prevent "openssl_sign(): supplied key param cannot be coerced into a private key".
Various fixes to PdoTest
* Removed calls to arrayHasKey in unit tests.
* Added test of refresh token.
adds support for application/json contentTypes
matching headers with spec when token is returned
adds support for application/json contentTypes