Перейти к содержимому
docs.
WORKSPACE

Документации проектов

Открыть каталог проектов
Localzet ServerАсинхронный PHP-серверTriangleФреймворк и компонентыMIX IDИдентификация и интеграцииHack APIПубличные API хакатонаACNПроект и компонентыUserlay / UserNetПроект и компонентыAxiomПроект и компонентыМесседжинг через почтуПроект и компонентыLWT / JWT / JOSEПроект и компонентыФинансовая аналитика KimaiПроект и компонентыМультипарадигмальная БДПроект и компонентыZorin PlatformПроект и компоненты✓Zorin TrustПроект и компонентыFloraScope / VegwatchПроект и компонентыaegis-qДокументация проектаaevumdbДокументация проектаauditДокументация проектаauto-invest-managerАвтотрейдерcaine-companionДокументация проектаcertbot-cloudflareДокументация проектаClusterLocalzet Server / ClustercmdveilДокументация проектаConsolePHP CLICronБиблиотеки Localzet Serverdata-connectorДокументация проектаdevice-controlDevice Controlenn-projectДокументация проектаEventsБиблиотеки Localzet ServerflowsintДокументация проектаforgeДокументация проектаHttpClientБиблиотеки Localzet ServerinterpreterСобственный языкinvariaДокументация проектаkeynotesДокументация проектаknotrouteKnotroutelaravel-personal-analyticsДокументация проектаlocalzet-osДокументация проектаmeridianДокументация проектаMQTTБиблиотеки Localzet Servernano-kernelСобственная ОСNoterДокументация проектаpersonal-analyticsДокументация проектаProxyБиблиотеки Localzet ServerPSRБиблиотеки Localzet ServerPSR-7Библиотеки Localzet Serverrschs-monitorДокументация проектаsemsealДокументация проектаshardsealДокументация проектаSocketIOБиблиотеки Localzet ServerSOCKS5Библиотеки Localzet Serverstandalone-analyticsДокументация проектаstatic-php-cliДокументация проектаStorageБиблиотеки Localzet ServersutureДокументация проектаtempoweaveДокументация проектаttsСинтез речиTunnelБиблиотеки Localzet Serverui-kitUI KitvesperДокументация проектаWebAnalyzerWebAnalyzerzorin-access-brokerДокументация проектаzorin-authority-brokerДокументация проектаzorin-authority-sdk-phpДокументация проектаzorin-authority-sdk-pythonДокументация проектаzorin-authority-sdk-tsДокументация проектаzorin-client-intelДокументация проектаzorin-device-core-aospДокументация проектаzorin-host-agentДокументация проектаzorin-native-labДокументация проектаzorin-nodeДокументация проектаzorin-opsДокументация проектаdonstu-python-sdkДокументация проектаfloortraceFloortraceserver-rsLocalzet Server / Cluster
Каталог

OAuth — API

src/OAuth.php

function __construct($config, HttpClientInterface $httpClient = null, StorageInterface $storage = null, LoggerInterface $logger = null)
function authenticate(string $name): AdapterInterface
function getAdapter(string $name): AdapterInterface
function getProviderConfig($name)
function isConnectedWith($name)
function getProviders()
function getConnectedProviders()
function getConnectedAdapters()
function disconnectAllAdapters()

src/OAuth/Adapter/AbstractAdapter.php

function __construct($config = [], HttpClientInterface $httpClient = null, StorageInterface $storage = null, LoggerInterface $logger = null)
function isConnected()
function apiRequest($url, $method = 'GET', $parameters = [], $headers = [], $multipart = false)
function maintainToken()
function getUserProfile()
function getUserContacts()
function getUserPages()
function getUserActivity($stream)
function setUserStatus($status)
function setPageStatus($status, $pageId)
function disconnect()
function getAccessToken()
function setAccessToken($tokens = [])
function setHttpClient(HttpClientInterface $httpClient = null)
function getHttpClient()
function setStorage(StorageInterface $storage = null)
function getStorage()
function setLogger(LoggerInterface $logger = null)
function getLogger()

src/OAuth/Adapter/AdapterInterface.php

function authenticate()
function isConnected()
function disconnect()
function getUserProfile()
function getUserContacts()
function getUserPages()
function getUserActivity($stream)
function setUserStatus($status)
function setPageStatus($status, $pageId)
function apiRequest($url, $method = 'GET', $parameters = [], $headers = [], $multipart = false)
function maintainToken()
function getAccessToken()
function setAccessToken($tokens = [])
function setHttpClient(HttpClientInterface $httpClient = null)
function getHttpClient()
function setStorage(StorageInterface $storage = null)
function getStorage()
function setLogger(LoggerInterface $logger = null)
function getLogger()

src/OAuth/Adapter/DataStoreTrait.php

function getStorage()

src/OAuth/Adapter/OAuth1.php

function authenticate()
function isConnected()
function apiRequest($url, $method = 'GET', $parameters = [], $headers = [], $multipart = false)

src/OAuth/Adapter/OAuth2.php

function authenticate()
function isConnected()
function isRefreshTokenAvailable()
function refreshAccessToken($parameters = [])
function hasAccessTokenExpired($time = null)
function apiRequest($url, $method = 'GET', $parameters = [], $headers = [], $multipart = false)

src/OAuth/Adapter/OpenID.php

function authenticate()
function isConnected()
function disconnect()
function getUserProfile()

src/OAuth/Data/Collection.php

function __construct($data = null)
function toArray()
function get($property)
function set($property, $value)
function filter($property)
function exists($property)
function isEmpty(): bool
function count(): int
function properties()
function values()

src/OAuth/Data/Parser.php

function parse($raw = null)
function parseJson($result)
function parseXml($result)
function parseQueryString($result)
function parseBirthday($birthday)

src/OAuth/HttpClient/Curl.php

function request($uri, $method = 'GET', $parameters = [], $headers = [], $multipart = false)
function getResponse()
function setCurlOptions($curlOptions)
function setLogger($logger)
function getResponseBody()
function getResponseHeader()
function getResponseHttpCode()
function getResponseClientError()

src/OAuth/HttpClient/Guzzle.php

function __construct($client = null, $config = [])
function request($uri, $method = 'GET', $parameters = [], $headers = [], $multipart = false)
function getResponse()
function setLogger($logger)
function getResponseBody()
function getResponseHeader()
function getResponseHttpCode()
function getResponseClientError()

src/OAuth/HttpClient/HttpClientInterface.php

function request($uri, $method = 'GET', $parameters = [], $headers = [], $multipart = false)
function getResponseBody()
function getResponseHeader()
function getResponseHttpCode()
function getResponseClientError()

src/OAuth/HttpClient/Util.php

static function redirect($url)
static function setRedirectHandler($callback)
static function setExitHandler($callback)
static function getCurrentUrl($requestUri = false)

src/OAuth/Logger/Logger.php

function __construct($level, $file)
function info($message, array $context = [])
function debug($message, array $context = [])
function error($message, array $context = [])
function log($level, $message, array $context = [])
const NONE
const DEBUG
const INFO
const ERROR

src/OAuth/Logger/LoggerInterface.php

function info($message, array $context = array())
function debug($message, array $context = array())
function error($message, array $context = array())
function log($level, $message, array $context = array())

src/OAuth/Logger/Psr3LoggerWrapper.php

function info($message, array $context = [])
function debug($message, array $context = [])
function error($message, array $context = [])
function log($level, $message, array $context = [])

src/OAuth/Provider/Amazon.php

function getUserProfile()

src/OAuth/Provider/Apple.php

function getAccessToken()
function getUserProfile()

src/OAuth/Provider/Authentiq.php

function getUserProfile()

src/OAuth/Provider/AutoDesk.php

function getUserProfile()

src/OAuth/Provider/BitBucket.php

function getUserProfile()

src/OAuth/Provider/Blizzard.php

function getUserProfile()

src/OAuth/Provider/DeviantArt.php

function getUserProfile()

src/OAuth/Provider/Discord.php

function getUserProfile()

src/OAuth/Provider/Disqus.php

function getUserProfile()

src/OAuth/Provider/Dribbble.php

function getUserProfile()

src/OAuth/Provider/Dropbox.php

function getUserProfile()

src/OAuth/Provider/Facebook.php

function maintainToken()
function exchangeAccessToken()
function getUserProfile()
function getUserContacts()
function setPageStatus($status, $pageId)
function getUserPages($writable = false)
function getUserActivity($stream = 'me')

src/OAuth/Provider/Foursquare.php

function getUserProfile()
function getUserContacts()

src/OAuth/Provider/GitHub.php

function getUserProfile()

src/OAuth/Provider/GitLab.php

function getUserProfile()

src/OAuth/Provider/Google.php

function getUserProfile()
function getUserContacts($parameters = [])

src/OAuth/Provider/Instagram.php

function maintainToken()
function exchangeAccessToken()
function getUserProfile()
function getUserMedia($limit = 12, $pageId = null, array $fields = null)
function getMedia($mediaId, array $fields = null)

src/OAuth/Provider/Keycloak.php

function getUserProfile()

src/OAuth/Provider/LinkedIn.php

function getUserProfile()
function getUserPhotoUrl($elements)
function getUserEmail()
function setUserStatus($status, $userID = null)

src/OAuth/Provider/LinkedInOpenID.php

function getUserProfile()

src/OAuth/Provider/Mailru.php

function getUserProfile()

src/OAuth/Provider/Mastodon.php

function getUserProfile()
function setUserStatus($status)