Compare commits
2 Commits
0387abb4f6
...
79abdc9cde
Author | SHA1 | Date | |
---|---|---|---|
79abdc9cde | |||
038e7a8352 |
@ -70,7 +70,7 @@ class DigestAuth:
|
||||
"""The callback to run when the user logs in."""
|
||||
|
||||
def login_required(self, view) -> t.Callable:
|
||||
"""The view decorator for HTTP digest authentication.
|
||||
"""The view decorator for the HTTP digest authentication.
|
||||
|
||||
:Example:
|
||||
|
||||
|
@ -87,10 +87,6 @@ class Client(WerkzeugClient):
|
||||
**kwargs) -> TestResponse:
|
||||
"""Opens a request.
|
||||
|
||||
.. warning::
|
||||
This is to override the parent ``open`` method. You should call
|
||||
the ``get``, ``post``, ``put``, and ``delete`` methods instead.
|
||||
|
||||
:param args: The arguments.
|
||||
:param digest_auth: A tuple of the username and password for the HTTP
|
||||
digest authentication.
|
||||
@ -115,9 +111,6 @@ class Client(WerkzeugClient):
|
||||
username: str, password: str) -> Authorization:
|
||||
"""Composes and returns the request authorization.
|
||||
|
||||
.. warning::
|
||||
This method is not for public.
|
||||
|
||||
:param www_authenticate: The ``WWW-Authenticate`` response.
|
||||
:param uri: The request URI.
|
||||
:param username: The username.
|
||||
|
Loading…
Reference in New Issue
Block a user