Removed the secret_key attribute from the DigestAuth class. It is actually not used.
This commit is contained in:
parent
b348c872dc
commit
7ec56ee52d
@ -41,9 +41,8 @@ class DigestAuth:
|
|||||||
|
|
||||||
:param realm: The realm.
|
:param realm: The realm.
|
||||||
"""
|
"""
|
||||||
self.secret_key: str = token_urlsafe(32)
|
|
||||||
self.serializer: URLSafeTimedSerializer \
|
self.serializer: URLSafeTimedSerializer \
|
||||||
= URLSafeTimedSerializer(self.secret_key)
|
= URLSafeTimedSerializer(token_urlsafe(32))
|
||||||
self.realm: str = "" if realm is None else realm
|
self.realm: str = "" if realm is None else realm
|
||||||
self.algorithm: t.Optional[str] = None
|
self.algorithm: t.Optional[str] = None
|
||||||
self.use_opaque: bool = True
|
self.use_opaque: bool = True
|
||||||
|
Loading…
Reference in New Issue
Block a user