PHP Класс Overtrue\Socialite\Providers\WeiboProvider

Наследование: extends AbstractProvider, implements Overtrue\Socialite\ProviderInterface
Показать файл Открыть проект

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

Свойство Тип Описание
$baseUrl string The base url of Weibo API.
$scopes array The scopes being requested.
$uid integer The uid of user authorized.
$version string The API version for the request.

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

Метод Описание
getAuthUrl ( string $state ) : string Get the authentication URL for the provider.
getTokenFields ( string $code ) : array Get the Post fields for the token request.
getTokenUrl ( ) : string Get the token URL for the provider.
getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) : array Get the raw user for the given access token.
mapUserToObject ( array $user ) : Overtrue\Socialite\User Map the raw user array to a Socialite User instance.

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

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

Get the authentication URL for the provider.
protected getAuthUrl ( string $state ) : string
$state string
Результат string

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

Get the Post fields for the token request.
protected getTokenFields ( string $code ) : array
$code string
Результат array

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

Get the token URL for the provider.
protected getTokenUrl ( ) : string
Результат string

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

Get the raw user for the given access token.
protected getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) : array
$token Overtrue\Socialite\AccessTokenInterface
Результат array

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

Map the raw user array to a Socialite User instance.
protected mapUserToObject ( array $user ) : Overtrue\Socialite\User
$user array
Результат Overtrue\Socialite\User

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

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

The base url of Weibo API.
protected string $baseUrl
Результат string

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

The scopes being requested.
protected array $scopes
Результат array

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

The uid of user authorized.
protected int $uid
Результат integer

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

The API version for the request.
protected string $version
Результат string