INNER CODE UNIT · Python

__init__

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

    def __init__(
        self,
        domain: str,
        customAPI: str,
        issuer: Optional[str] = None,
        scope_key: Optional[str] = "permissions",
        auto_error: bool = True,
    ):
        url = f"https://{domain}/.well-known/jwks.json"
        jwks = JWKS(url=url)
        if issuer is None:
            issuer = get_issuer(domain)
        super().__init__(
            jwks,
            audience=customAPI,
            issuer=issuer,
            scope_key=scope_key,
            auto_error=auto_error,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…