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
__construct()
public
__construct() : mixed
checkAuthExpired()
public
checkAuthExpired() : mixed
clearSitesSettings()
public
clearSitesSettings() : mixed
getAuth()
public
getAuth(mixed $code) : mixed
Parameters
- $code : mixed
getAuthSettings()
public
getAuthSettings() : 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
Return values
array<string|int, mixed>getInterface()
Creates OAuth interface object instance
public
getInterface() : CYandexOAuthInterface
Return values
CYandexOAuthInterfacegetProxy()
public
getProxy() : mixed
setAuthSettings()
public
setAuthSettings([mixed $settings = null ]) : mixed
Parameters
- $settings : mixed = null