INNER CODE UNIT · Python

JWKS

tokusumi/fastapi-cloudauth · fastapi_cloudauth/auth0.py:22

class JWKS(BaseJWKS):
    def _construct(self, jwks: Dict[str, Any]) -> Dict[str, Key]:
        return {_jwk["kid"]: jwk.construct(_jwk) for _jwk in jwks.get("keys", [])}


class Auth0(ScopedAuth):
    """
    Verify access token of auth0
    """

    user_info = None

    def __init__(
        self,
        domain: str,
        customAPI: str,
        issuer: Optional[str] = None,
        scope_key: Optional[str] = "permissions",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…