authparams : Update comments on JWT
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5781 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -117,7 +117,14 @@ class authparams
|
|||||||
|
|
||||||
/** Get the information from a Bearer Token
|
/** Get the information from a Bearer Token
|
||||||
* The token MUST be set in HTTP Header :
|
* The token MUST be set in HTTP Header :
|
||||||
* Authorization: Bearer <token>
|
* Authentication: Bearer <token>
|
||||||
|
* 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
|
* The real verification are done in authjwt, as we can not have the
|
||||||
* jwtServerKey defined in property : the execution is done in constructor
|
* jwtServerKey defined in property : the execution is done in constructor
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user