summaryrefslogtreecommitdiff
path: root/wsgitools/digest.py
diff options
context:
space:
mode:
Diffstat (limited to 'wsgitools/digest.py')
-rw-r--r--wsgitools/digest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/wsgitools/digest.py b/wsgitools/digest.py
index 18925df..6ac4005 100644
--- a/wsgitools/digest.py
+++ b/wsgitools/digest.py
@@ -186,7 +186,9 @@ class AbstractTokenGenerator:
if sys.version_info >= (3, 11):
class TokenGenerator(typing.Protocol):
- realm: str
+ @property
+ def realm(self) -> str:
+ ...
def __call__(
self, username: str, algo: str = "md5"
) -> typing.Optional[str]: