Dave Grijalva
e0b58f1724
MapClaim -> MapClaims
2015-08-18 10:18:57 -07:00
Dave Grijalva
17be525a73
Merge branch 'custom-parsing' of https://github.com/itsjamie/jwt-go into release_3_0_0
2015-08-18 09:30:39 -07:00
Dave Grijalva
011d5bb935
drop support for []byte keys in RSA signing methods
2015-07-20 10:23:11 -07:00
Jamie Stackhouse
a33fdf927a
Going through and updating tests to pass.
...
Still need to add a test that utilizes the defaults of the structured
object.
Update Cmdline app
Update package reference for PR.
Update examples
2015-07-17 15:14:04 -03:00
Dave Grijalva
e430b188c0
use pre-parsed rsa key for rsa benchmark and make sure signing actually succeeds
2015-04-11 14:04:22 -07:00
Dave Grijalva
c0c67af490
cleaned up benchmarks
2015-04-11 13:53:09 -07:00
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