Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
| # Paste thing whole thing to your ~/.bashrc or ~/.zhrc | |
| # Make sure all the variables on top point to correct | |
| # destinations in your system. This all works under MacOS, | |
| # bu should be easily adjusted for Ubuntu (you'll need to | |
| # replace the PHP restart comands at the end). | |
| # | |
| # Quick reference: | |
| # | |
| # xon : enables xdebug, disables blackfire, disables opcache | |
| # xoff : disables xdebug, enables blackfire, enables opcache |
| ############################################################################ | |
| # # | |
| # ------- Useful Docker Aliases -------- # | |
| # # | |
| # # Installation : # | |
| # copy/paste these lines into your .bashrc or .zshrc file or just # | |
| # type the following in your current shell to try it out: # | |
| # wget -O - https://gist.githubusercontent.com/jgrodziski/9ed4a17709baad10dbcd4530b60dfcbb/raw/d84ef1741c59e7ab07fb055a70df1830584c6c18/docker-aliases.sh | bash | |
| # # | |
| # # Usage: # |
Michaël Perrin has written an article about using annotation and filters improve security.
With a more complex model, for example an order that contains products, you want also to filter on the associations of the filtered entity.
| ul.tree, ul.tree ul { | |
| list-style: none; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| ul.tree ul { | |
| margin-left: 10px; | |
| } | |
| ul.tree li { | |
| margin: 0; |