feat: implement task dependencies with validation and update handling
This commit is contained in:
@@ -4,14 +4,12 @@ from dataclasses import dataclass
|
||||
|
||||
from starlette.requests import Request
|
||||
|
||||
|
||||
@dataclass
|
||||
class ClerkConfig:
|
||||
jwks_url: str
|
||||
verify_iat: bool = ...
|
||||
leeway: float = ...
|
||||
|
||||
|
||||
class HTTPAuthorizationCredentials:
|
||||
scheme: str
|
||||
credentials: str
|
||||
@@ -24,7 +22,6 @@ class HTTPAuthorizationCredentials:
|
||||
decoded: dict[str, object] | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
|
||||
class ClerkHTTPBearer:
|
||||
def __init__(
|
||||
self,
|
||||
@@ -32,6 +29,4 @@ class ClerkHTTPBearer:
|
||||
auto_error: bool = ...,
|
||||
add_state: bool = ...,
|
||||
) -> None: ...
|
||||
|
||||
async def __call__(self, request: Request) -> HTTPAuthorizationCredentials | None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user