php-json-api icon indicating copy to clipboard operation
php-json-api copied to clipboard

Authentication and authorizations

Open nebur81 opened this issue 6 years ago • 1 comments

I have not seen that there is Authentication and authorizations for CRUD operations, do you plan to implement it?

nebur81 avatar Apr 01 '19 13:04 nebur81

Hm... Specification doesn't include anything about authentication or authorizations. See https://jsonapi.org/

Goal of jsonapi is make uniform of data serialization and client-server communication, your issue out of scope.

Your should implement auth logic in application by yourself. For example: send JWT with request headers and handle it with middleware before mapping.

samizdam avatar Jun 29 '19 18:06 samizdam