The Yandex provider combines authentication with OAuth 2.0 authorization.
It requires a Yandex Application to have been created to use.
Yandex Links (English):
Yandex Links (Russian):
Settings
- consumer_key
- Yandex Application ID
- consumer_secret
- Yandex Application password
POST Parameters
Complete Example:
<form action="/velruse/yandex/login" method="post">
<input type="submit" value="Login with Yandex" />
</form>
Pyramid API
Yandex Authentication Views
You may see developer docs at http://api.yandex.com/oauth/
-
class YandexAuthenticationComplete(profile=None, credentials=None, provider_name=None, provider_type=None)[source]
Bases: velruse.AuthenticationComplete
Yandex auth complete
-
includeme(config)[source]
-
add_yandex_login(config, consumer_key, consumer_secret, login_path='/login/yandex', callback_path='/login/yandex/callback', name='yandex')[source]
Add a Yandex login provider to the application.
-
add_yandex_login_from_settings(config, prefix='velruse.yandex.')[source]