G
G
grabbee2017-02-01 02:07:10
symfony
grabbee, 2017-02-01 02:07:10

How to properly set link lifetime in REST Symfony?

I'm trying to do it through FosREST and add links through willdurand/BazingaHateoasBundle . Initially, there is no "link lifetime" in the entity - this parameter does not apply to the entity in any way, it belongs only to the link. How to shove it into links?
2. In addition to the lifetime, the link contains a "Signature" - a hash based on the data of the link itself.
Can you please tell me how this is done correctly?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question