Bitrix API

YandexBase extends BitrixEngine

Table of Contents

Constants

QUERY_USER  = 'https://login.yandex.ru/info'

Methods

__construct()  : mixed
checkAuthExpired()  : mixed
clearSitesSettings()  : mixed
getAuth()  : mixed
getAuthSettings()  : mixed
getAuthUrl()  : string
Returns URL to authorize app
getCurrentUser()  : array<string|int, mixed>
Returns current Yandex user data
getInterface()  : CYandexOAuthInterface
Creates OAuth interface object instance
getProxy()  : mixed
setAuthSettings()  : mixed

Constants

QUERY_USER

public mixed QUERY_USER = 'https://login.yandex.ru/info'

Methods

checkAuthExpired()

public checkAuthExpired() : mixed

clearSitesSettings()

public clearSitesSettings() : mixed

getAuth()

public getAuth(mixed $code) : mixed
Parameters
$code : mixed

getAuthUrl()

Returns URL to authorize app

public getAuthUrl() : string
Return values
string

Url

getCurrentUser()

Returns current Yandex user data

public getCurrentUser() : array<string|int, mixed>
Tags
throws
SystemException
throws
YandexException
Return values
array<string|int, mixed>

getInterface()

Creates OAuth interface object instance

public getInterface() : CYandexOAuthInterface
Return values
CYandexOAuthInterface

setAuthSettings()

public setAuthSettings([mixed $settings = null ]) : mixed
Parameters
$settings : mixed = null

        
On this page

Search results