base_auth_manager
BaseAuthManager
Bases: ABC
, Generic[T, S]
Base class for the authentication manager.
Source code in spark_on_k8s/api/auth/base_auth_manager.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
|
get_user(auth_info)
abstractmethod
async
Get the user.
Source code in spark_on_k8s/api/auth/base_auth_manager.py
46 47 48 49 |
|
is_authorized(user, resource, actions)
async
Check if the user is authorized to perform the actions on the resource.
Source code in spark_on_k8s/api/auth/base_auth_manager.py
52 53 54 |
|
PermissionActions
Bases: StrEnum
Permission actions.
Source code in spark_on_k8s/api/auth/base_auth_manager.py
16 17 18 19 20 21 22 23 |
|