Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
| /* | |
| * Format input date | |
| * https://gist.github.com/PlugFox/9364d6a88d0baf1284e4cdc0581957e7 | |
| * https://dartpad.dev/9364d6a88d0baf1284e4cdc0581957e7 | |
| * Matiunin Mikhail <plugfox@gmail.com>, 27 January 2023 | |
| */ | |
| void main() => [ | |
| '', | |
| '.', |
| import 'package:database/src/platform/io.dart' | |
| // ignore: uri_does_not_exist | |
| if (dart.library.html) 'package:database/src/platform/js.dart'; | |
| import 'package:database/src/queries.dart'; | |
| import 'package:drift/drift.dart'; | |
| import 'package:meta/meta.dart'; | |
| part 'database.g.dart'; | |
| /// Key-value storage interface for SQLite database |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.