Skip to content

Commit

Permalink
Fixed token output in jwt docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jclingan committed Jan 24, 2020
1 parent c8f1c66 commit b793ef0
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions docs/microprofile-jwt-rbac.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ HTTP/1.1 200 OK
Content-Length: 15
Content-Type: text/plain;charset=UTF-8
Principal: demo
Principal: demo@acme.org
....
--
+
Expand All @@ -122,7 +122,7 @@ HTTP/1.1 200 OK
Content-Length: 15
Content-Type: text/plain;charset=UTF-8
Principal: demo
Principal: demo@acme.org
....
--
+
Expand Down Expand Up @@ -175,21 +175,21 @@ $ curl -i -H"Authorization: Bearer ${TOKEN}" http://localhost:8080/frontend/toke
.Terminal 3 Output
....
HTTP/1.1 200 OK
Content-Length: 816
Content-Length: 929
Content-Type: text/plain;charset=UTF-8
Principal: demo,
Principal: demo@acme.org,
[
sub: demo,
upn: demo,
myc: My Custom Claim,
raw_token: eyJraWQiOiJqd3Qua2V5IiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJ1c2VyXC80Mzk3MSIsInVwbiI6ImRlbW9AYWNtZS5vcmciLCJteWMiOiJNeSBDdXN0b20gQ2xhaW0iLCJhdXRoX3RpbWUiOjE1Nzg2NTEyODMsImlzcyI6ImFpcmhhY2tzIiwiZ3JvdXBzIjpbInVzZXIiLCJhZG1pbiJdLCJleHAiOjMxNTU4ODI4OTgsImlhdCI6MTU3ODY1MTI4MywianRpIjoiYWlyaGFja3Mtand0LXVuaXF1ZS1pZC0xMjM0MjE0MiJ9.Eaqe3sTH64doIVW3on25EA_uD9XrfppndiweUNLVbFK3KxaIfXaAdQ4N9IkQG6Iw0A7I7kngjeSHwb2DzH8rQE8yp7sCtey6kmC689eQC0j2k-YbyGZ68xnsMj5taOBVGH_ZSWC6E1L-Gk-GgcTvX6I3SaBC8pwZ267q6psknqlAtfD2JoE7ezEb7LrLVwP1vaGqKzC2X6pv5J-07DNBqe75uBWQyqX_WE856ug3uqWcHtNck8nqU6VhwXqxHZ6vkRlx9VoMgFUF851D-WuKMCUdfXJHekDyKmjYuyLiw7jtQSdliY3ONOXgFm_uzjKGuZ1VKPdQXyx7GQ9NsNTYfw,
auth_time: 1578015200,
iss: airhacks,
groups: [admin, user],
exp: 3155882898,
iat: 1578015200,
jti: 42]
sub: user/43971,
upn: demo@acme.org,
myc: My Custom Claim,
raw_token: eyJraWQiOiJqd3Qua2V5IiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJ1c2VyXC80Mzk3MSIsInVwbiI6ImRlbW9AYWNtZS5vcmciLCJteWMiOiJNeSBDdXN0b20gQ2xhaW0iLCJhdXRoX3RpbWUiOjE1Nzg2NTEyODMsImlzcyI6ImFpcmhhY2tzIiwiZ3JvdXBzIjpbInVzZXIiLCJhZG1pbiJdLCJleHAiOjMxNTU4ODI4OTgsImlhdCI6MTU3ODY1MTI4MywianRpIjoiYWlyaGFja3Mtand0LXVuaXF1ZS1pZC0xMjM0MjE0MiJ9.Eaqe3sTH64doIVW3on25EA_uD9XrfppndiweUNLVbFK3KxaIfXaAdQ4N9IkQG6Iw0A7I7kngjeSHwb2DzH8rQE8yp7sCtey6kmC689eQC0j2k-YbyGZ68xnsMj5taOBVGH_ZSWC6E1L-Gk-GgcTvX6I3SaBC8pwZ267q6psknqlAtfD2JoE7ezEb7LrLVwP1vaGqKzC2X6pv5J-07DNBqe75uBWQyqX_WE856ug3uqWcHtNck8nqU6VhwXqxHZ6vkRlx9VoMgFUF851D-WuKMCUdfXJHekDyKmjYuyLiw7jtQSdliY3ONOXgFm_uzjKGuZ1VKPdQXyx7GQ9NsNTYfw,
auth_time: 1578651283,
iss: airhacks,
groups: [admin, user],
exp: 3155882898,
iat: 1578651283,
jti: airhacks-jwt-unique-id-12342142]
....
--
+
Expand Down

0 comments on commit b793ef0

Please sign in to comment.