2.2.2: Fix for empty token_types
- Fixed issue #10: Undefined array key "token_type" when response value
does not contain this key. The spec clearly states this is REQUIRED
(https://tools.ietf.org/html/rfc6749#section-5.1), some implementations
do not return this nevertheless. Default toBearer
in this case.
(@thekid)