From d0d027bad314490dd1b66914c1bb73fcfa6720aa Mon Sep 17 00:00:00 2001 From: Rostislav Kirillov Date: Mon, 21 Jan 2019 06:44:16 +0500 Subject: [PATCH] added notes --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 6354771..28ee452 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,13 @@ How it works: ``` [Full test project is here](https://github.com/Rast1234/VkNet.TokenMagic/blob/master/Example/Program.cs) +## Notes +* Cache token if possible! +* Authentication flow might be broken in non-trivial cases (2FA, captcha, etc) +* Had to reinvent RestClient with underlying HttpClient +* No dependencies on ProtocolBuffers +* No dependencies on external services except Gooogle + # Readme Русский @@ -74,3 +81,10 @@ How it works: }); ``` [Полный тестовый проект здесь](https://github.com/Rast1234/VkNet.TokenMagic/blob/master/Example/Program.cs) + +## Заметки +* Кэшируйте токен, если возможно! +* Аутентификация может быть сломана в нетривиальных случаях (2-х факторная, капча, и тд) +* Пришлось переизобретать RestClient с используемым HttpClient +* Нет зависимости от ProtocolBuffers +* Нет зависимости от внешних сервисов, помимо Google