Commit Graph

12 Commits

Author SHA1 Message Date
Dave Grijalva 7597fd422d added a test condition 2015-01-07 09:52:08 -08:00
Dave Grijalva 6a9bcca4b5 moved tests into jwt_test package for better clarity 2014-12-28 12:24:41 -08:00
Alex Browne bfe701fdf5 When possible, instead of identifying signing methods by string, pass
them in directly by name. This is less error-prone and avoids an unnecessary
map lookup. Also encourage this type of usage by using it in the README.
2014-12-27 14:14:23 -05:00
Dave Grijalva 4beb9b5850 gracefully handle a nil keyfunc passed to Parse. (and more tests) 2014-10-11 13:54:16 -07:00
Simon Jefford 23cb3af02c pass keys as interface{} rather than []byte
This will allow clients to pass, for example, their own instances of
rsa.PublicKey if the key is not specified as some flavour of X509
cert. For example, Salesforce just specify the modulus and
exponent (https://login.salesforce.com/id/keys)
2014-08-26 14:14:17 -07:00
Henry cdfe06219b use ioutil.ReadFile for reading test keys 2014-06-03 16:21:48 +02:00
Dave Grijalva a796f21fd5 switched error details to bitfield 2014-03-09 12:24:51 -07:00
Dave Grijalva 1a8b763fae updated parsing errors to provide more feedback 2014-03-07 14:43:11 -08:00
Dave Grijalva 0008f0b730 gofmt 2012-04-18 12:59:37 -07:00
Dave Grijalva c416da491f parse token from http requests 2012-04-18 12:35:16 -07:00
Dave Grijalva 18108cfd38 base64 decoding fixins 2012-04-18 12:18:31 -07:00
Dave Grijalva 7a06ac11be starting to work on it 2012-04-17 16:49:21 -07:00