jwt : typo on default value HS255 -> HS256

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5792 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-12-05 10:04:52 +00:00
parent c3f0014d5a
commit e4ba5d10dd

View File

@@ -30,7 +30,7 @@ class jwt
* length) * length)
* @return string The Token * @return string The Token
*/ */
public function encode ($payload, $key, $alg = "HS255", $ckey = null) public function encode ($payload, $key, $alg = "HS256", $ckey = null)
// {{{ // {{{
{ {
if (! key_exists ($alg, $this->supportedAlgs)) if (! key_exists ($alg, $this->supportedAlgs))