Skip to content

Commit

Permalink
Documentation improvements
Browse files Browse the repository at this point in the history
Fixes #77
  • Loading branch information
miguelgrinberg committed Nov 15, 2018
1 parent bd6fcf3 commit ce5e5b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,11 @@ API Documentation

This class handles HTTP authentication with custom schemes for Flask routes.

.. method:: __init__(scheme, realm=None)
.. method:: __init__(scheme='Bearer', realm=None)

Create a token authentication object.

The ``scheme`` argument must be provided to be used in the ``WWW-Authenticate`` response.
The ``scheme`` argument can be use to specify the scheme to be used in the ``WWW-Authenticate`` response.

The ``realm`` argument can be used to provide an application defined realm with the ``WWW-Authenticate`` header.

Expand Down

0 comments on commit ce5e5b4

Please sign in to comment.