Coverage for fastagency/ui/mesop/auth/auth.py: 100%
2 statements
« prev ^ index » next coverage.py v7.8.0, created at 2025-04-19 12:16 +0000
« prev ^ index » next coverage.py v7.8.0, created at 2025-04-19 12:16 +0000
1from typing import Any, Protocol 1abc
3import mesop as me 1abc
5__all__ = ["AuthProtocol"] 1abc
8class AuthProtocol(Protocol): 1abc
9 def create_security_policy( 1abc
10 self, policy: me.SecurityPolicy 1abc
11 ) -> me.SecurityPolicy: ... 1abc
13 # maybe me.Component is wrong
14 def auth_component(self) -> me.component: ... 1abc
16 def is_authorized(self, *args: Any, **kwargs: Any) -> bool: ... 1abc