Improve the JWT documentation

This commit is contained in:
Joannis Orlandos 2017-10-18 19:29:34 +02:00
parent 99f440d44f
commit 7bf722deb1
1 changed files with 10 additions and 2 deletions

View File

@ -1,7 +1,15 @@
# Using JSON Web Token
# JSON Web Token
JSON Web Token is a library containing all JSON Web Token related APIs.
### What is JWT?
JWT is a standard for managing client tokens. Tokens are a form of identification and proof to the server. JWT is cryptographically signed, so it is not possible to falsify the validity of a JWT unless any of the following conditions is met:
- A broken algorithm was used (such as MD5)
- A weak signing key was used and brute-forced
- The signing key used was leaked out to a third party
### Index
- [JSON Web Signature](jws.md)
@ -34,4 +42,4 @@ let package = Package(
)
```
Use `import JSON Web Token` to access JSON Web Token's APIs.
Use `import JWT` to access JSON Web Token's APIs.