Skip to content

Commit c1c08f7

Browse files
committed
Remove video with wrong content from the introduction. Change "reserved"
to "registered".
1 parent 090e00b commit c1c08f7

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
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/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)