Skip to content

Instantly share code, notes, and snippets.

@vangie
Forked from jpadilla/header_encoded
Created April 4, 2014 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vangie/9976068 to your computer and use it in GitHub Desktop.
Save vangie/9976068 to your computer and use it in GitHub Desktop.
JSON Web Token
eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9
{
"typ": "JWT",
"alg": "HS256"
}
eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJ1c2VyX2lkIjogMX0.BSf1w1blYKcbxVlyOtUogUsozH2clY34xxYPd8lQIlQ
{
"user_id": 1
}
eyJ1c2VyX2lkIjogMX0
BSf1w1blYKcbxVlyOtUogUsozH2clY34xxYPd8lQIlQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment