VK - velruse.providers.vk
¶
The VK (ex Vkontakte) provider authenticates using the OAuth 2.0 API with the VK API to obtain additional profile information for use with user registration.
To use the VK authentication, you must register a VK application for use with Velruse. You can do that by using the following links to learn about and create said application. Once you have done so, you will be supplied with a consumer key and a consumer secret specific to VK.
VK Developer Links:
Settings¶
consumer_key
- VK Application ID
consumer_secret
- VK Secure key
scope
- Comma-separated list of permissions. The scope is used to request access to VK properties known as Application Access Rights. It should be either a comma-separated or space-separated list.
POST parameters¶
Complete Example:
<form action="/velruse/vk/auth" method="post">
<input type="submit" value="Login with VK" />
</form>
Pyramid API¶
VK.com (ex Vkontakte.ru) Authentication Views
VK is considered to be the #1 social network (with more than a 100 million active users) in Russia. You may see the developer docs at http://vk.com/developers.php#devstep2
-
class
VKAuthenticationComplete
(profile=None, credentials=None, provider_name=None, provider_type=None)[source]¶ Bases:
velruse.AuthenticationComplete
VK auth complete