This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
IncludeModuleLangFile(__FILE__); | |
class CSocServVKontakte extends CSocServAuth | |
{ | |
const ID = "VKontakte"; | |
const CONTROLLER_URL = "https://www.bitrix24.ru/controller"; | |
protected $entityOAuth = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Файл: bitrix/modules/socialservices/classes/general/authmanager.php | |
Примерно строка 1241, добавляем параметр "true" для вызова метода AuthorizeWithOtp | |
... | |
$USER->AuthorizeWithOtp($USER_ID, true); | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* THIS CLASS IS PROVIDED TO THE PUBLIC DOMAIN FOR FREE WITHOUT ANY | |
* RESTRICTIONS OR ANY WARRANTY. | |
*/ | |
import android.content.SharedPreferences; | |
import android.content.SharedPreferences.Editor; | |
import android.text.Editable; | |
import android.text.Selection; | |
import android.text.TextUtils; |
NewerOlder