9 $var =
'OPENID_IDENTITY_OPENID';
18 return $obOpenID->Authorize();
22 if($identity ===
false || is_array($identity))
27 $return_to =
CSocServUtil::GetCurUrl(
"auth_service_id=".urlencode(
$_REQUEST[
"auth_service_id"]).
"&check_key=".\CSocServAuthManager::getUniqueKey(),
array(
"auth_service_error",
"auth_service_id",
"login"));
29 if(
$url = $obOpenID->GetRedirectUrl($identity, $return_to))
42<span class="bx-ss-icon openid"></span>
43<span>'.
'OpenID:'.
'</span>
44<input type="text" name="OPENID_IDENTITY_OPENID" value="'.($arParams[
"LAST_LOGIN"] ??
'').
'" size="30" />
46<input type="hidden" name="auth_service_error" value="" />
47<input type="submit" class="button" name="" value="'.
GetMessage(
"socserv_openid_login").
'" />
56 if($identity ===
false || is_array($identity))
57 $identity =
"http://openid.yandex.ru/".$_REQUEST[
'OPENID_IDENTITY_YANDEX'];
59 return parent::Authorize($identity,
'OPENID_IDENTITY_YANDEX');
66 if(preg_match(
'#openid.yandex.ru/([^/$]+)#i',
$arParams[
"~LAST_LOGIN"],
$matches))
69<span class="bx-ss-icon yandex"></span>
70<input type="text" name="OPENID_IDENTITY_YANDEX" value="'.htmlspecialcharsbx(
$login).
'" size="20" />
71<span>@yandex.ru</span>
73<input type="hidden" name="auth_service_error" value="" />
74<input type="submit" class="button" name="" value="'.
GetMessage(
"socserv_openid_login").
'" />
83 if($identity ===
false || is_array($identity))
84 $identity =
"http://openid.mail.ru/mail/".$_REQUEST[
'OPENID_IDENTITY_MAILRU'];
86 return parent::Authorize($identity,
'OPENID_IDENTITY_MAILRU');
93 if(preg_match(
'#openid.mail.ru/mail/([^/$]+)#i',
$arParams[
"~LAST_LOGIN"] ??
'',
$matches))
97<span class="bx-ss-icon openid-mail-ru"></span>
98<input type="text" name="OPENID_IDENTITY_MAILRU" value="'.htmlspecialcharsbx(
$login).
'" size="20" />
101<input type="hidden" name="auth_service_error" value="" />
102<input type="submit" class="button" name="" value="'.
GetMessage(
"socserv_openid_login").
'" />
111 if($identity ===
false || is_array($identity))
112 $identity =
$_REQUEST[
'OPENID_IDENTITY_LIVEJOURNAL'].
".livejournal.com";
114 return parent::Authorize($identity,
'OPENID_IDENTITY_LIVEJOURNAL');
121 if(preg_match(
'#([^\.]+).livejournal.com#i',
$arParams[
"~LAST_LOGIN"] ??
'',
$matches))
124<span class="bx-ss-icon livejournal"></span>
125<input type="text" name="OPENID_IDENTITY_LIVEJOURNAL" value="'.htmlspecialcharsbx(
$login).
'" size="20" />
126<span>.livejournal.com</span>
128<input type="hidden" name="auth_service_error" value="" />
129<input type="submit" class="button" name="" value="'.
GetMessage(
"socserv_openid_login").
'" />
138 if($identity ===
false || is_array($identity))
139 $identity =
"http://www.liveinternet.ru/users/".$_REQUEST[
'OPENID_IDENTITY_LIVEINTERNET'].
"/";
141 return parent::Authorize($identity,
'OPENID_IDENTITY_LIVEINTERNET');
148 if(preg_match(
'#www.liveinternet.ru/users/([^/$]+)#i',
$arParams[
"~LAST_LOGIN"] ??
'',
$matches))
151<span class="bx-ss-icon liveinternet"></span>
152<span>liveinternet.ru/users/</span>
153<input type="text" name="OPENID_IDENTITY_LIVEINTERNET" value="'.htmlspecialcharsbx(
$login).
'" size="15" />
155<input type="hidden" name="auth_service_error" value="" />
156<input type="submit" class="button" name="" value="'.
GetMessage(
"socserv_openid_login").
'" />
165 if($identity ===
false || is_array($identity))
166 $identity =
"http://".$_REQUEST[
'OPENID_IDENTITY_BLOGGER'].
".blogspot.com/";
168 return parent::Authorize($identity,
'OPENID_IDENTITY_BLOGGER');
175 if(preg_match(
'#([^\.]+).blogspot.com#i',
$arParams[
"~LAST_LOGIN"] ??
'',
$matches))
178<span class="bx-ss-icon blogger"></span>
179<input type="text" name="OPENID_IDENTITY_BLOGGER" value="'.htmlspecialcharsbx(
$login).
'" size="20" />
180<span>.blogspot.com</span>
182<input type="hidden" name="auth_service_error" value="" />
183<input type="submit" class="button" name="" value="'.
GetMessage(
"socserv_openid_login").
'" />
192 if($identity ===
false || is_array($identity))
193 $identity =
"http://id.rambler.ru/users/".$_REQUEST[
'OPENID_IDENTITY_RAMBLER'];
195 return parent::Authorize($identity,
'OPENID_IDENTITY_RAMBLER');
202 if(preg_match(
'#id.rambler.ru/users/([^/$]+)#i',
$arParams[
"~LAST_LOGIN"],
$matches))
205<span class="bx-ss-icon rambler"></span>
206<input type="text" name="OPENID_IDENTITY_RAMBLER" value="'.htmlspecialcharsbx(
$login).
'" size="20" />
207<span>@rambler.ru</span>
209<input type="hidden" name="auth_service_error" value="" />
210<input type="submit" class="button" name="" value="'.
GetMessage(
"socserv_openid_login").
'" />
static GetOpenIDAuthStep($request_var='OPENID_IDENTITY')
Authorize($identity=false, $var=false)
Authorize($identity=false, $var=false)
Authorize($identity=false, $var=false)
Authorize($identity=false, $var=false)
Authorize($identity=false, $var=false)
Authorize($identity=false, $var=false)
static GetCurUrl($addParam="", $removeParam=false, $checkOAuthProxy=true)
Authorize($identity=false, $var=false)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
bitrix_sessid_post($varname='sessid', $returnInvocations=false)
IncludeModuleLangFile($filepath, $lang=false, $bReturnArray=false)
GetMessage($name, $aReplace=null)
LocalRedirect($url, $skip_security_check=false, $status="302 Found")
if( $daysToExpire >=0 &&$daysToExpire< 60 elseif)( $daysToExpire< 0)