Commit Graph

301 Commits

Author SHA1 Message Date
Dave Grijalva 6517c923af better readme 2014-05-16 15:40:33 -07:00
Dave Grijalva 71c6a65cfe Merge pull request #13 from brunoqc/patch-1
Fix typo: null -> nil in README
2014-04-09 14:57:02 -07:00
Bruno Bigras 6e1aef4b31 Fix typo: null -> nil in README 2014-04-09 17:26:16 -04:00
Dave Grijalva c9e6fdb7e7 Merge pull request #11 from hermanjunge/patch-1
Update README.md
2014-03-12 11:11:08 -07:00
Dave Grijalva 54a180ee40 Merge pull request #12 from hermanjunge/patch-2
Update README.md
2014-03-12 11:10:35 -07:00
Herman Junge 717503fcf6 Update README.md
You cannot perform the not (`!`) operator on an `error`. It gives you `invalid operation: ! error`.

Tested in Go Playground: http://play.golang.org/p/jhlsHoS_gc
and locally on go1.2
2014-03-12 03:50:48 -04:00
Herman Junge bd53e37c6d Update README.md
`jwt.New()` only returns one parameter, `*Token`
2014-03-12 01:31:24 -04:00
Dave Grijalva bdb2a327a9 Merge pull request #10 from dgrijalva/detailed_error
Updated error response from Parse to provide more detail
2014-03-09 12:27:51 -07:00
Dave Grijalva aeec1afe95 documentation 2014-03-09 12:26:36 -07:00
Dave Grijalva a796f21fd5 switched error details to bitfield 2014-03-09 12:24:51 -07:00
Porjo ba4268888e gofmt README examples
Conflicts:
	README.md
2014-03-07 15:35:21 -08:00
Dave Grijalva aa7f010b16 documentation fix 2014-03-07 14:46:27 -08:00
Dave Grijalva 1a8b763fae updated parsing errors to provide more feedback 2014-03-07 14:43:11 -08:00
Dave Grijalva f80fd39457 Merge pull request #6 from cenkalti/master
check nbf claim
2014-02-17 12:53:32 -08:00
Cenk Alti fa09d56388 check nbf claim 2014-02-11 22:31:34 -08:00
Dave Grijalva 8de1bb8a61 updated TimeFunc documentation 2014-02-10 17:27:59 -08:00
Dave Grijalva 2fecbc3a69 Merge pull request #5 from cenkalti/master
make time function overrideable
2014-02-08 12:57:31 -08:00
Cenk Alti 8e74e33063 make time function overrideable 2014-02-05 15:07:40 -08:00
Dave Grijalva 955b8ff55f Update README.md 2014-01-29 10:08:31 -08:00
Dave Grijalva 0507313841 Merge pull request #4 from cenkalti/test
refactor test code
2014-01-03 11:44:28 -08:00
Cenk Alti 0ef224e8f9 refactor test code 2014-01-02 19:14:07 +02:00
Dave Grijalva f4c00c0ac2 Merge pull request #3 from abdollar/master
GetSigningMethod only returns method - fixes failing tests with go 1.1.2
2013-12-02 13:37:07 -08:00
Abdul Chaudhry fb1e5547f8 GetSigningMethod only returns method - fixes failing tests with go 1.1.2 2013-10-07 22:01:07 -07:00
Dave Grijalva 295a7342f2 gofmt 2013-02-26 21:29:51 -08:00
Dave Grijalva 57235a88e6 Merge pull request #2 from morrildl/master
Support x509 Certificates for JWT verification.
2013-02-26 21:28:41 -08:00
Dan Morrill 924b188e65 Support x509 Certificates for JWT verification.
If an attempt to parse the pubkey as PKIX fails, try again as
x509.Certificate. Some vendors are starting to use these to sign JWTs.
Example: https://www.googleapis.com/oauth2/v1/certs
2012-12-21 23:31:03 -08:00
Dave Grijalva 32c540957a capture raw string when parsing a token 2012-10-02 19:13:21 -07:00
Dave Grijalva 51b517e77a megabytes 2012-07-07 12:40:24 -07:00
Dave Grijalva 71677efc53 try to get the access_token from the request params as well as the header 2012-07-07 12:38:18 -07:00
Dave Grijalva 224f53452d fixes 2012-07-07 12:12:49 -07:00
Dave Grijalva 0a26d2272f gofmt 2012-07-06 17:02:20 -07:00
Dave Grijalva cbb3bae3aa readme 2012-07-06 16:27:42 -07:00
Dave Grijalva 12351962ee README 2012-07-06 16:19:13 -07:00
Dave Grijalva e84b735fda made Keyfunc a fixed type so it could be documented more easily 2012-07-06 16:16:34 -07:00
Dave Grijalva 2ed3fe8ded documentation 2012-07-06 16:12:33 -07:00
Dave Grijalva 5119d0e151 signingn 2012-07-06 16:07:55 -07:00
Dave Grijalva d736b8f860 added signing support to RS256 and HS256 2012-07-06 15:43:17 -07:00
Dave Grijalva af74bdc9d2 added hmac sha256 support 2012-07-06 15:02:02 -07: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 283c8bd49d Merge branch 'master' of github.com:dgrijalva/jwt-go 2012-04-18 12:18:41 -07:00
Dave Grijalva 18108cfd38 base64 decoding fixins 2012-04-18 12:18:31 -07:00
Dave Grijalva 50d3e917c8 mit license 2012-04-18 12:02:05 -07:00
Dave Grijalva de2a21a16b Update README.md 2012-04-18 11:33:12 -07:00
Dave Grijalva 2827deb72f some bad documentation 2012-04-17 23:25:22 -07:00
Dave Grijalva 97424f0088 it works 2012-04-17 22:50:26 -07:00
Dave Grijalva e49f2f5a18 almost working 2012-04-17 18:41:12 -07:00
Dave Grijalva 8853e4547b framework 2012-04-17 16:58:52 -07:00
Dave Grijalva 28479ff357 check exp time 2012-04-17 16:52:38 -07:00
Dave Grijalva 7a06ac11be starting to work on it 2012-04-17 16:49:21 -07:00