PHP Класс FacebookOAuthService

Наследование: extends EOAuth2Service
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$client_id
$client_secret
$jsArguments
$name
$providerOptions
$scope
$title
$type

Защищенные методы

Метод Описание
fetchAttributes ( )
fetchJsonError ( stdClass $json ) : array Returns the error info from json.
getAccessToken ( $code )
getCodeUrl ( $redirect_uri )
getTokenUrl ( $code )
saveAccessToken ( array $token ) Save access token to the session.

Описание методов

fetchAttributes() защищенный Метод

protected fetchAttributes ( )

fetchJsonError() защищенный Метод

Returns the error info from json.
protected fetchJsonError ( stdClass $json ) : array
$json stdClass the json response.
Результат array the error array with 2 keys: code and message. Should be null if no errors.

getAccessToken() защищенный Метод

protected getAccessToken ( $code )

getCodeUrl() защищенный Метод

protected getCodeUrl ( $redirect_uri )

getTokenUrl() защищенный Метод

protected getTokenUrl ( $code )

saveAccessToken() защищенный Метод

Save access token to the session.
protected saveAccessToken ( array $token )
$token array access token array.

Описание свойств

$client_id защищенное свойство

protected $client_id

$client_secret защищенное свойство

protected $client_secret

$jsArguments защищенное свойство

protected $jsArguments

$name защищенное свойство

protected $name

$providerOptions защищенное свойство

protected $providerOptions

$scope защищенное свойство

protected $scope

$title защищенное свойство

protected $title

$type защищенное свойство

protected $type