Skip to content

Commit

Permalink
Document.
Browse files Browse the repository at this point in the history
  • Loading branch information
luhn committed May 9, 2016
1 parent 12fe2c2 commit c351ca7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/client_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,13 @@ BasicAuth
e.g. *auth* parameter for :meth:`ClientSession.request`.


.. classmethod:: decode()

Decode HTTP basic authentication credentials.

:return: decoded authentication data, :class:`BasicAuth`.


.. method:: encode()

Encode credentials into string suitable for ``Authorization``
Expand Down

0 comments on commit c351ca7

Please sign in to comment.