<div dir="ltr">Tere!<div><br></div><div>I am looking for solution how handle requests simply and securely for RESTful web-service. Theoretically it should look like this:</div><div><br></div><div>1. on first approach client should log in with usual credentials (like username and password)</div>
<div>2. system generates unique token and returns it to client</div><div>3. on every subsequent request client uses token to identify itself</div><div>4. when token ages, client starts from first point again</div><div><br>
</div><div>I tried some queries on metacpan and google, but did not find nothing involving Dancer and even Perl as whole. </div><div><br></div><div>Do you have some hints for me, where to look?</div><div><br></div><div>To implement it with one table seems not too hard, but to have something battleproofed and abstracted out would be appreciated.<br>
<div><br></div><div>TIA,</div>-- </div><div>Wbr,<br>Kõike hääd,<br><br>Gunnar</div></div>