diff --git a/docs/authentication.md b/docs/authentication.md index e69de29..4355c06 100644 --- a/docs/authentication.md +++ b/docs/authentication.md @@ -0,0 +1,12 @@ +# Authentication + +Client - Server communicates via API (stateless) so that the old fashioned Session can't be used. + +To authenticate, the Server sends a JWT to the client which contains medatada. + +The Token is encoded and only the server can evaluate if the token is valid or has been modified. + +The Client stores this token in it's local storage, typically in the browser storage. + +authentication + diff --git a/img/authentication.png b/img/authentication.png new file mode 100644 index 0000000..79e8543 Binary files /dev/null and b/img/authentication.png differ