PHP 클래스 yii\authclient\clients\Twitter

In order to use Twitter OAuth you must register your application at . Example application configuration: php 'components' => [ 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'twitter' => [ 'class' => 'yii\authclient\clients\Twitter', 'attributeParams' => [ 'include_email' => 'true' ], 'consumerKey' => 'twitter_consumer_key', 'consumerSecret' => 'twitter_consumer_secret', ], ], ] ... ]
또한 보기: https://dev.twitter.com/apps/new
또한 보기: https://dev.twitter.com/docs/api
부터: 2.0
저자: Paul Klimov ([email protected])
상속: extends yii\authclient\OAuth1
파일 보기 프로젝트 열기: yiisoft/yii2-authclient 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$accessTokenMethod
$accessTokenUrl
$apiBaseUrl
$attributeParams list of extra parameters, which should be used, while requesting user attributes from Twitter API. For example: php [ 'include_email' => 'true' ]
$authUrl
$requestTokenMethod
$requestTokenUrl

보호된 메소드들

메소드 설명
defaultName ( )
defaultTitle ( )
initUserAttributes ( )

메소드 상세

defaultName() 보호된 메소드

protected defaultName ( )

defaultTitle() 보호된 메소드

protected defaultTitle ( )

initUserAttributes() 보호된 메소드

protected initUserAttributes ( )

프로퍼티 상세

$accessTokenMethod 공개적으로 프로퍼티

public $accessTokenMethod

$accessTokenUrl 공개적으로 프로퍼티

public $accessTokenUrl

$apiBaseUrl 공개적으로 프로퍼티

public $apiBaseUrl

$attributeParams 공개적으로 프로퍼티

list of extra parameters, which should be used, while requesting user attributes from Twitter API. For example: php [ 'include_email' => 'true' ]
또한 보기: https://dev.twitter.com/rest/reference/get/account/verify_credentials
부터: 2.0.6
public $attributeParams

$authUrl 공개적으로 프로퍼티

public $authUrl

$requestTokenMethod 공개적으로 프로퍼티

public $requestTokenMethod

$requestTokenUrl 공개적으로 프로퍼티

public $requestTokenUrl