sdk.init ✎ Edit on GitHub

NameRequiredTypeDescription
session_data true AnonymSessionParams

Authorization

Session is prohibited

Required permissions

  • VALUABLE_ACCESS

Response

{ "activated_profile": "boolean", "api_server": "String", "auth_hash": "String", "auth_sig": "String", "auth_token": "String", "identifier_clash_info": { "conflicting_unique_name": "String", "created_at": "long", "email_contact": { "confirmation_required": "boolean", "contact": "String" }, "email_enabled": "boolean", "logged_in_with_unique_name": "boolean", "phone_contact": { "confirmation_required": "boolean", "contact": "String" }, "phone_enabled": "boolean", "resolved": "boolean", "resolved_login": "String", "user_id": "long" }, "session_key": "String", "session_secret_key": "String", "uid": "String", "verification_url": "String" }

Application paramters

User session data

Method

List of paramters

Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig