diff --git a/authparams.php b/authparams.php index 14f3a37..bf0d53b 100644 --- a/authparams.php +++ b/authparams.php @@ -117,7 +117,14 @@ class authparams /** Get the information from a Bearer Token * The token MUST be set in HTTP Header : - * Authorization: Bearer + * Authentication: Bearer + * Ex in curl : + * curl -s -u "login:password" -X POST \ + * http://localhost/rest/authentication/ | jq -r + * curl -s \ + * -H "Accept: application/json" \ + * -H "Authentication: Bearer ${BearerToken}" \ + * http://localhost/rest/api/ * The real verification are done in authjwt, as we can not have the * jwtServerKey defined in property : the execution is done in constructor */