INNER CODE UNIT · Python

ScopedAuth

tokusumi/fastapi-cloudauth · fastapi_cloudauth/base.py:179

class ScopedAuth(CloudAuth):
    """
    Verify `Access token` and authorize it based on scope (or groups)
    """

    _scope_key: Optional[str] = None
    user_info: Optional[Type[BaseModel]] = None

    def __init__(
        self,
        jwks: JWKS,
        audience: Optional[Union[str, List[str]]] = None,
        issuer: Optional[str] = None,
        user_info: Optional[Type[BaseModel]] = None,
        scope_name: Optional[List[str]] = None,
        scope_key: Optional[str] = None,
        auto_error: bool = True,
        op: Operator = Operator._all,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…