Add bearer validation

This commit is contained in:
Matteo Bertucci
2021-01-14 16:08:24 +01:00
parent 8f8503d4f7
commit b8c4a114f6
4 changed files with 53 additions and 19 deletions

View File

@ -0,0 +1,7 @@
# App defaults
DEFAULT_DELAY = "5 minutes"
# Endpoints
BASE_ENDPOINT = "https://api.cloudflare.com/client/v4/"
VERIFY_TOKEN = BASE_ENDPOINT + "user/tokens/verify"