authclient\Weibo defaultName()

defaultName() protected method Generates service name. protected string defaultName ( )return string Service name.

authclient\WeChat fetchAccessToken()

fetchAccessToken() public method Fetches access token from authorization code. public yii\authclient\OAuthToken fetchAccessToken ( $authCode, array $params = [] )$authCode string Authorization code, usually comes at $_GET['code']. $params array Additional request params. return yii\authclient\OAuthToken Access token.

authclient\WeChat initUserAttributes()

initUserAttributes() protected method Initializes authenticated user attributes. protected array initUserAttributes ( )return array Auth user attributes.

authclient\WeChat init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

authclient\WeChat generateAuthState()

generateAuthState() protected method Generates the auth state value. protected string generateAuthState ( )return string Auth state value.

authclient\WeChat defaultNormalizeUserAttributeMap()

defaultNormalizeUserAttributeMap() protected method Returns the default $normalizeUserAttributeMap value. Particular client may override this method in order to provide specific default map. protected array defaultNormalizeUserAttributeMap ( )return array Normalize attribute map.

authclient\WeChat defaultReturnUrl()

defaultReturnUrl() protected method Composes default $returnUrl value. protected string defaultReturnUrl ( )return string Return URL.

authclient\WeChat defaultViewOptions()

defaultViewOptions() protected method Returns the default $viewOptions value. Particular client may override this method in order to provide specific default view options. protected array defaultViewOptions ( )return array List of default $viewOptions

authclient\WeChat defaultTitle()

defaultTitle() protected method Generates service title. protected string defaultTitle ( )return string Service title.

authclient\WeChat apiInternal()

apiInternal() protected method Performs request to the OAuth API. protected array apiInternal ( $accessToken, $url, $method, array $params, array $headers )$accessToken yii\authclient\OAuthToken Actual access token. $url string Absolute API URL. $method string Request method. $params array Request parameters. $headers array Additional request headers. return array API response. throws yii\base\Exception on failure.