Commit Graph

261 Commits

Author SHA1 Message Date
Dave Grijalva 5fbf45924d errors only have an exposed Inner property if the error was generated by another library 2016-06-15 16:42:50 -07:00
Dave Grijalva 2ed748cd9c updated documentation. moved migration guide to separate doc 2016-06-15 10:49:54 -07:00
Dave Grijalva 0fbf86c98b documentation update 2016-06-08 11:38:48 -07:00
Dave Grijalva f1a773028f added a simple http example 2016-06-08 11:36:38 -07:00
Dave Grijalva 320d20e631 Merge branch 'release_3_0_0' of github.com:dgrijalva/jwt-go into release_3_0_0 2016-06-07 10:34:42 -07:00
Dave Grijalva 6fd0370e43 Merge branch 'master' of https://github.com/martinlindhe/jwt-go into patch_109 2016-06-07 10:34:06 -07:00
Dave Grijalva b4ac4e4998 Merge pull request #137 from dgrijalva/dg/extractor
Add new interface Extractor for making token extraction pluggable
2016-06-07 10:01:39 -07:00
Dave Grijalva c5c24ad06a updated version history 2016-06-06 18:22:25 -07:00
Dave Grijalva 317b82a681 Merge remote-tracking branch 'origin/master' into release_3_0_0 2016-06-06 18:20:35 -07:00
Dave Grijalva fa2cc68895 version history 2016-06-06 18:08:17 -07:00
Dave Grijalva c04502f106 notice about imminent 3.0.0 2016-06-06 17:56:07 -07:00
Dave Grijalva 5eef21b7ed a few examples and some documentation cleanup 2016-06-06 17:45:30 -07:00
Dave Grijalva f93fcfd3f9 unit tests for extractor 2016-06-06 17:18:24 -07:00
Dave Grijalva de0a819d8d added documentation 2016-06-06 16:55:41 -07:00
Dave Grijalva bb45bfcdec add new interface Extractor for making token extraction pluggable 2016-06-06 15:27:44 -07:00
Dave Grijalva 9b486c879b Merge pull request #136 from bruston/keyfunc-typo
Fix typo in KeyFunc documentation
2016-05-31 11:11:19 -07:00
Benjamin Ruston e1403b0ab2 Fix typo in KeyFunc documentation 2016-05-27 14:22:35 +01:00
Dave Grijalva 40bd0f3b48 fixes #135 copy/paste error in rsa decoding tools 2016-05-04 10:25:48 -07:00
Dave Grijalva 0ef1a002d3 Merge pull request #132 from abourget/master
Implement a "-show" command too.. for debugging purposes..
2016-05-04 10:21:10 -07:00
Dave Grijalva 3cf07b8a28 Merge pull request #133 from johnlockwood-wf/expire-delta
Include expire delta in error message
2016-05-04 10:20:39 -07:00
John.Lockwood 96fef82497 Include expire delta in error message 2016-04-25 11:34:10 -07:00
Alexandre Bourget 36ab8fba55 Implement a "-show" command too.. for debugging purposes.. 2016-04-14 14:26:38 -04:00
Dave Grijalva a2c85815a7 release notes 2016-04-12 17:36:00 -07:00
Dave Grijalva 9249eabf87 expose inner error within ValidationError 2016-04-12 17:31:30 -07:00
Dave Grijalva 36d317022e Merge branch 'master' of https://github.com/emanoelxavier/jwt-go-contr into dg/merge_112 2016-04-12 17:22:28 -07:00
Dave Grijalva b6d201ffa0 mutex around signing method registration. shouldn't matter, but couldn't hurt 2016-04-12 17:06:56 -07:00
Dave Grijalva b9283128ba updated README with new argument order for WithClaims methods 2016-04-12 16:39:41 -07:00
Dave Grijalva 5e270fa6cd changed argument order to put claims type before keyfunc. this is easier to read when keyfunc is an inline closure 2016-04-12 16:25:25 -07:00
Dave Grijalva 70eefe1649 moved map claims to its own file 2016-04-12 16:22:14 -07:00
Dave Grijalva 996dd550fd Merge branch 'master' into release_3_0_0 2016-04-12 16:19:20 -07:00
Dave Grijalva c8d4fff6cc verify that an error is always returned if token.Valid is false (and the reverse) 2016-04-12 14:52:39 -07:00
Dave Grijalva 1b765952cc Merge branch 'dg/example_code' into release_3_0_0 2016-04-12 14:44:51 -07:00
Dave Grijalva 2b161b0e1a Merge pull request #126 from dgrijalva/dg/request
Move request processing stuff to sub-package
2016-04-12 14:39:55 -07:00
Dave Grijalva 561ef5eec0 Merge pull request #128 from dgrijalva/dg/example_code
Move examples into testable files instead of README
2016-04-12 14:36:32 -07:00
Dave Grijalva 4400800062 Merge branch 'release_3_0_0' into dg/request 2016-04-12 14:34:54 -07:00
Dave Grijalva fb4ca74c9f added special case behavior for MapClaims so they aren't all weird 2016-04-12 14:32:24 -07:00
Dave Grijalva 9d0dcba491 fix for weird map pointer crap 2016-04-12 14:31:41 -07:00
Dave Grijalva 0145da90d4 added link to jwt.io 2016-04-12 13:39:14 -07:00
Dave Grijalva 6f2e6588a2 replace inline examples with links to examples in the test suite. these examples are evaluated as part of the test pass, so they should remain correct 2016-04-12 13:34:11 -07:00
Dave Grijalva 0c245a4f7e added example of parsing using custom type 2016-04-12 13:33:20 -07:00
Dave Grijalva c466333a1b expanded usefulness and correctness of examples 2016-04-12 13:18:31 -07:00
Dave Grijalva 070a4bdd00 moved request related error int request subpackage 2016-04-08 13:58:29 -07:00
Dave Grijalva 288cee4336 added a couple tests for request parsing that don't rely on giant parser test dataset 2016-04-08 13:02:18 -07:00
Dave Grijalva e3cd52238a moved some of the test helpers into a shared location so they can be reused 2016-04-08 13:01:55 -07:00
Dave Grijalva bc13ee82c3 Merge branch 'release_3_0_0' into dg/request 2016-04-08 11:57:11 -07:00
Dave Grijalva 572c9130e8 cleaned up style and added tests 2016-04-04 14:42:10 -07:00
Dave Grijalva d8496232e5 Merge branch 'master' of https://github.com/dakom/jwt-go into dg/pr_121 2016-04-04 13:59:36 -07:00
Dave Grijalva 4ec621a2d1 Merge branch 'master' into release_3_0_0 2016-03-31 11:19:33 -07:00
Dave Grijalva b446e078d6 version history update 2016-03-31 11:13:52 -07:00
Dave Grijalva b6cc8838b1 Merge pull request #79 from dgrijalva/dg/none
Add support for alg='none'
2016-03-31 10:58:59 -07:00