PHP 클래스 Overtrue\Socialite\Providers\WeChatProvider

상속: extends AbstractProvider, implements Overtrue\Socialite\ProviderInterface
파일 보기 프로젝트 열기: overtrue/socialite 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$baseUrl string The base url of WeChat API.
$openId {@inheritdoc}.
$scopes {@inheritdoc}.
$stateless boolean Indicates if the session state should be utilized.

공개 메소드들

메소드 설명
getAccessToken ( $code ) {@inheritdoc}.

보호된 메소드들

메소드 설명
buildAuthUrlFromBase ( $url, $state ) {@inheritdoc}.
getAuthUrl ( $state ) {@inheritdoc}.
getCodeFields ( $state = null ) {@inheritdoc}.
getTokenFields ( $code ) {@inheritdoc}.
getTokenUrl ( ) {@inheritdoc}.
getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token ) {@inheritdoc}.
isOpenPlatform ( ) : mixed Detect wechat open platform.
mapUserToObject ( array $user ) {@inheritdoc}.
removeCallback ( mixed $response ) : string Remove the fucking callback parentheses.

메소드 상세

buildAuthUrlFromBase() 보호된 메소드

{@inheritdoc}.
protected buildAuthUrlFromBase ( $url, $state )

getAccessToken() 공개 메소드

{@inheritdoc}.
public getAccessToken ( $code )

getAuthUrl() 보호된 메소드

{@inheritdoc}.
protected getAuthUrl ( $state )

getCodeFields() 보호된 메소드

{@inheritdoc}.
protected getCodeFields ( $state = null )

getTokenFields() 보호된 메소드

{@inheritdoc}.
protected getTokenFields ( $code )

getTokenUrl() 보호된 메소드

{@inheritdoc}.
protected getTokenUrl ( )

getUserByToken() 보호된 메소드

{@inheritdoc}.
protected getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token )
$token Overtrue\Socialite\AccessTokenInterface

isOpenPlatform() 보호된 메소드

Detect wechat open platform.
protected isOpenPlatform ( ) : mixed
리턴 mixed

mapUserToObject() 보호된 메소드

{@inheritdoc}.
protected mapUserToObject ( array $user )
$user array

removeCallback() 보호된 메소드

Remove the fucking callback parentheses.
protected removeCallback ( mixed $response ) : string
$response mixed
리턴 string

프로퍼티 상세

$baseUrl 보호되어 있는 프로퍼티

The base url of WeChat API.
protected string $baseUrl
리턴 string

$openId 보호되어 있는 프로퍼티

{@inheritdoc}.
protected $openId

$scopes 보호되어 있는 프로퍼티

{@inheritdoc}.
protected $scopes

$stateless 보호되어 있는 프로퍼티

Indicates if the session state should be utilized.
protected bool $stateless
리턴 boolean