Skip to content

Commit

Permalink
Update authentication.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Feb 1, 2021
1 parent 637b8fe commit aaeef9c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions message/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ WSSE
$authentication = new Wsse('username', 'password');
For better security, also pass the 3rd optional parameter to use a better hashing algorithm than ``sha1``, e.g.

.. code-block:: php
use Http\Message\Authentication\Wsse;
$authentication = new Wsse('username', 'password', 'sha512');
.. _Authentication-QueryParams:

Query Params
Expand Down

0 comments on commit aaeef9c

Please sign in to comment.