mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
4
third_party/3/jwt/__init__.pyi
vendored
4
third_party/3/jwt/__init__.pyi
vendored
@@ -1,11 +1,11 @@
|
||||
from typing import Mapping, Any, Optional, Union
|
||||
from typing import Mapping, Any, Optional, Union, Dict
|
||||
|
||||
from . import algorithms
|
||||
|
||||
def decode(jwt: Union[str, bytes], key: Union[str, bytes] = ...,
|
||||
verify: bool = ..., algorithms: Optional[Any] = ...,
|
||||
options: Optional[Mapping[Any, Any]] = ...,
|
||||
**kwargs: Any) -> Mapping[str, Any]: ...
|
||||
**kwargs: Any) -> Dict[str, Any]: ...
|
||||
|
||||
def encode(payload: Mapping[str, Any], key: Union[str, bytes],
|
||||
algorithm: str = ..., headers: Optional[Mapping[str, Any]] = ...,
|
||||
|
||||
Reference in New Issue
Block a user