Description
JSON Web Token is an open standard that defines a compact and self-contained way for securely transmitting information between parties as a JSON object.
Where to use
- Stateless API Auth.
Real World Example
User logs in, gets a JWT. Sends JWT with every request. Server validates signature.
Code Example
class JWTAuthentication:
def __init__(self):
pass
def execute(self):
print('Executing JWT Authentication')
