databutton 0.38.10__tar.gz → 0.38.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {databutton-0.38.10 → databutton-0.38.11}/PKG-INFO +1 -1
- {databutton-0.38.10 → databutton-0.38.11}/databutton/experimental/auth/get_user.py +3 -3
- {databutton-0.38.10 → databutton-0.38.11}/databutton/version.py +1 -1
- {databutton-0.38.10 → databutton-0.38.11}/pyproject.toml +1 -1
- {databutton-0.38.10 → databutton-0.38.11}/LICENSE +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/README.md +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/__init__.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/cachetools.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/experimental/__init__.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/experimental/auth/__init__.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/experimental/folder/__init__.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/experimental/folder/folder.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/__init__.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/auth.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/byteutils.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/dbapiclient.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/httpxclient.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/performedby.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/internal/retries.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/jobs/__init__.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/jobs/run.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/notify/__init__.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/notify/email.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/notify/send.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/pydantic_v1/__init__.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/secrets/__init__.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/secrets/secrets.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/storage/__init__.py +0 -0
- {databutton-0.38.10 → databutton-0.38.11}/databutton/storage/storage.py +0 -0
@@ -1,8 +1,8 @@
|
|
1
1
|
import re
|
2
2
|
from datetime import datetime, timedelta
|
3
3
|
|
4
|
+
import httpx
|
4
5
|
import jwt
|
5
|
-
import requests
|
6
6
|
from cryptography.x509 import load_pem_x509_certificate
|
7
7
|
from fastapi import HTTPException, Request, status
|
8
8
|
from pydantic import BaseModel
|
@@ -17,11 +17,11 @@ class GooglePublicKeySet:
|
|
17
17
|
|
18
18
|
def get_keys(self):
|
19
19
|
# Load certs from Google
|
20
|
-
response =
|
20
|
+
response = httpx.get(
|
21
21
|
"https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com"
|
22
22
|
)
|
23
23
|
|
24
|
-
x509_certs = response.json()
|
24
|
+
x509_certs: dict = response.json()
|
25
25
|
|
26
26
|
# Extract the public keys
|
27
27
|
keys = {}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|