Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
| [ | |
| { | |
| "text":"Австралия", | |
| "value":"AU" | |
| }, | |
| { | |
| "text":"Австрия", | |
| "value":"AT" | |
| }, | |
| { |
| /** | |
| * Load media uploader on pages with our custom metabox | |
| */ | |
| jQuery(document).ready(function($){ | |
| 'use strict'; | |
| // Instantiates the variable that holds the media library frame. | |
| var metaImageFrame; |
| /** | |
| * This code is licensed under the terms of the MIT license | |
| * | |
| * Deep diff between two object, using lodash | |
| * @param {Object} object Object compared | |
| * @param {Object} base Object to compare with | |
| * @return {Object} Return a new object who represent the diff | |
| */ | |
| function difference(object, base) { | |
| function changes(object, base) { |
| user www-data; | |
| #worker_processes 4; | |
| #worker_priority 0; | |
| #worker_cpu_affinity 0001 0010 0100 1000; | |
| #worker_rlimit_nofile 163840; | |
| #worker_processes 8; | |
| #worker_priority 0; | |
| #worker_cpu_affinity 00000001 00000010 00000100 00001000 00010000 00100000 01000000 10000000; |
| imports: | |
| # .... | |
| - { resource: services/session.yml } | |
| framework: | |
| # .... | |
| session: | |
| handler_id: session.handler.memcached |
| <?php | |
| namespace Acme\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| use Symfony\Component\Validator\Constraints as Assert; | |
| use Nmn\Validator\Constraints as NmnAssert; | |
| use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
| /* | |
| * object.watch polyfill | |
| * | |
| * 2012-04-03 | |
| * | |
| * By Eli Grey, http://eligrey.com | |
| * Public Domain. | |
| * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| */ |