Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/toniomacaronio/swift-oauth-vkontakte-nosdk-example

Vkontakte client for training purposes
https://github.com/toniomacaronio/swift-oauth-vkontakte-nosdk-example

Last synced: about 2 months ago
JSON representation

Vkontakte client for training purposes

Awesome Lists containing this project

README

        

Swift-OAuth-Vkontakte-NoSDK-Example
==========

Software demonstrates how to work with OAuth Apps, on the example of working with VK API: authorizing through VK app and using VK API methods.
Supported iOS from 11.2.

----------

Software is made for training purposes to learn how to correctly authorize in VK app, using the public protocol OAuth 2.0 to obtain the access key.
In this case, the user does not transfer the login and password to the application, so his account can not be compromised.
In addition, there are implemented some VK API methods, showing how to obtain the users list of friends, information about them and etc.
I didn't use VK iOS SDK, so you can see how to work with OAuth without any external frameworks or SDKs.

----------

#Vkontakte Can be found here: https://vk.com

VK (Originally VKontakte, Russian: ВКонтакте, literally "in contact") is the second biggest social network service in Europe after Facebook. It is available in several languages but popular particularly among Russian-speaking users around the world, especially in Russia, Ukraine, Azerbaijan, Kazakhstan, Moldova, Belarus, and Israel.

#License Copyright (c) 2018 Anton Grigoriev

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.