Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
| #!/bin/sh | |
| # | |
| # gitadd - safe run of (git add .; git commit; git push) | |
| # | |
| # Usage: gitadd [commit message] | |
| # | |
| # When adding too many files to github, error may arise such as | |
| # remote: fatal: pack exceeds maximum allowed size | |
| # or | |
| # fatal: The remote end hung up unexpectedly |
| using UnityEngine; | |
| using System; | |
| using System.Linq; | |
| using UnityEditor; | |
| using System.Collections.Generic; | |
| public class LargeTexturePackerPolicy : UnityEditor.Sprites.IPackerPolicy | |
| { | |
| protected class Entry |
| class Main { | |
| static function main() { | |
| var a = getValue(); | |
| } | |
| static function getValue():Tuple<Bool,Int> { | |
| return new Tuple(true, 10); | |
| } | |
| } |
| abstract ArrayRead<T>(Array<T>) from Array<T> { | |
| @:arrayAccess inline function get(i:Int):T return this[i]; | |
| public var length(get,never):Int; | |
| inline function get_length() return this.length; | |
| } |