Skip to content

Commit fd72e30

Browse files
committed
Merge branch 'trivial-fixes'
2 parents 68ad70c + c1c08f7 commit fd72e30

File tree

4 files changed

+5
-23
lines changed

4 files changed

+5
-23
lines changed

stylus/app.styl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,20 +1014,6 @@ body
10141014

10151015
// plain-text
10161016

1017-
.video-content
1018-
padding-bottom 0
1019-
1020-
.container
1021-
max-width 630px
1022-
1023-
.intro-video
1024-
width 100%
1025-
margin 0 auto
1026-
display block
1027-
+breakpoint("tablet")
1028-
width 600px
1029-
height 375px
1030-
10311017
.plain-text
10321018
.container
10331019
max-width 630px

views/introduction.jade

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ block content
6161

6262
h1 Introduction to JSON Web Tokens
6363

64-
section.video-content
65-
.container
66-
iframe.intro-video(src="//fast.wistia.net/embed/iframe/dxfz716cw9?videoFoam=true&controlsVisibleOnLoad=false&vmode=transparent&preload=metadata&playerColor=292929" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen)
67-
6864
section.plain-text
6965
.container
7066
include:markdown md/introduction.md

views/libraries/rust2.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ article.jwt-rust.rust.accordion(data-accordion)
7474
a(href='https://github.com/Keats')
7575
i.icon-budicon-333(data-toggle='tooltip', title='', data-original-title='Maintainer')
7676
| Keats
77-
span.stars(data-repo='Keats/rust-jwt', style='display: inline;')
77+
span.stars(data-repo='Keats/jsonwebtoken', style='display: inline;')
7878
i.icon-budicon-466
7979
.repository
8080
i.icon-1392070209-icon-social-github
81-
a(href='https://github.com/Keats/rust-jwt') View Repo
81+
a(href='https://github.com/Keats/jsonwebtoken') View Repo
8282

8383
.panel-footer
8484
code cargo: name = "jsonwebtoken" version = "*"

views/md/introduction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ Then, this JSON is **Base64Url** encoded to form the first part of the JWT.
4747
### Payload
4848

4949
The second part of the token is the payload, which contains the claims. Claims are statements about an entity (typically, the user) and additional metadata.
50-
There are three types of claims: *reserved*, *public*, and *private* claims.
50+
There are three types of claims: *registered*, *public*, and *private* claims.
5151

52-
- [**Reserved claims**](https://tools.ietf.org/html/rfc7519#section-4.1): These are a set of predefined claims which are not mandatory but recommended, to provide a set of useful, interoperable claims. Some of them are: **iss** (issuer), **exp** (expiration time), **sub** (subject), **aud** (audience), and [others](https://tools.ietf.org/html/rfc7519#section-4.1).
52+
- [**Registered claims**](https://tools.ietf.org/html/rfc7519#section-4.1): These are a set of predefined claims which are not mandatory but recommended, to provide a set of useful, interoperable claims. Some of them are: **iss** (issuer), **exp** (expiration time), **sub** (subject), **aud** (audience), and [others](https://tools.ietf.org/html/rfc7519#section-4.1).
5353

5454
> Notice that the claim names are only three characters long as JWT is meant to be compact.
5555

5656
- [**Public claims**](https://tools.ietf.org/html/rfc7519#section-4.2): These can be defined at will by those using JWTs. But to avoid collisions they should be defined in the [IANA JSON Web Token Registry](https://www.iana.org/assignments/jwt/jwt.xhtml) or be defined as a URI that contains a collision resistant namespace.
5757

58-
- [**Private claims**](https://tools.ietf.org/html/rfc7519#section-4.3): These are the custom claims created to share information between parties that agree on using them and are neither *reserved* or *public* claims.
58+
- [**Private claims**](https://tools.ietf.org/html/rfc7519#section-4.3): These are the custom claims created to share information between parties that agree on using them and are neither *registered* or *public* claims.
5959

6060
An example payload could be:
6161

0 commit comments

Comments
 (0)