Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2496)

Issue 9847043: oauth/jwt: Make encode() public.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by roberts
Modified:
10 years, 5 months ago
Reviewers:
adg
CC:
adg, golang-dev
Visibility:
Public.

Description

oauth/jwt: Make encode() public. Convert JWT's Token encode() method to be public instead of private to allow callers to easily trigger the signing of tokens and get the properly encoded results.

Patch Set 1 #

Patch Set 2 : diff -r 2d711318934b https://code.google.com/p/goauth2/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M oauth/jwt/jwt.go View 1 1 chunk +1 line, -1 line 0 comments Download
M oauth/jwt/jwt_test.go View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 2
adg
LGTM
10 years, 5 months ago (2013-11-04 06:41:01 UTC) #1
adg
10 years, 5 months ago (2013-11-04 06:42:26 UTC) #2
*** Submitted as https://code.google.com/p/goauth2/source/detail?r=bff410ad9492
***

oauth/jwt: Make encode() public.
Convert JWT's Token encode() method to be public instead of private
to allow callers to easily trigger the signing of tokens and get
the properly encoded results.

R=adg
CC=golang-dev
https://codereview.appspot.com/9847043

Committer: Andrew Gerrand <adg@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b