User authentication caching in FastAPI

Mocking a user authentication with cached bearer token to reduce latencies and enhance end-user experience and reduce response time from application(s).
Image courtesy to Reddit
TL;DR
Giving a...