From c004e28c37fb8d8f50f589cd61c46d78b11f6ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Wed, 7 Dec 2022 16:08:07 +0800 Subject: [PATCH] Fixed the documentation of the AuthState class and the UnauthorizedException exception. --- src/flask_digest_auth/auth.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/flask_digest_auth/auth.py b/src/flask_digest_auth/auth.py index a2d2922..ad5a9cf 100644 --- a/src/flask_digest_auth/auth.py +++ b/src/flask_digest_auth/auth.py @@ -422,11 +422,13 @@ class AuthState: def __init__(self): """Constructs the authorization state.""" self.opaque: t.Optional[str] = None + """The opaque.""" self.stale: t.Optional[bool] = None + """The stale.""" class UnauthorizedException(Exception): - """The exception thrown when the authentication is failed.""" + """The exception thrown when the authorization fails.""" pass