Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
| <?php | |
| /** | |
| * @file | |
| * Basic demonstration of how to do parallel threads in PHP. | |
| */ | |
| // This array of "tasks" could be anything. For demonstration purposes | |
| // these are just strings, but they could be a callback, class or | |
| // include file (hell, even code-as-a-string to pass to eval()). |
| 1. Make Home Directory for SShH keys. | |
| c://users/UserName/.SSH (for Windows 7) | |
| 2. Generate SSH key by command: | |
| ssh-keygen -t rsa -C "[email protected]" | |
| # Creates a new ssh key, using the provided email as a label | |
| Generating public/private rsa key pair. | |
| It's created a pair of keys - private and public in home dir .SSH | |
| C:\Users\SuvorovAG\.ssh\id_rsa |