yf_oauth_driver_bitbucket class

Fileplugins/oauth/classes/oauth/yf_oauth_driver_bitbucket.class.php
Use_class('oauth_driver_bitbucket', 'classes/oauth/')
Extendsyf_oauth_driver1 → yf_oauth_driver2

Public properties

PropertyDefaultDescription
None declared in this class.

Public methods 1

None without a leading underscore.

Methods starting with _ hooks and helpers; not routable as page actions

public function _get_user_info_for_auth($raw = [])
    public function _get_user_info_for_auth($raw = [])
    {
        $user_info = [
            'user_id' => $raw['user']['username'],
            'login' => $raw['user']['username'],
            'name' => $raw['user']['display_name'],
            'email' => '',
            'avatar_url' => $raw['user']['avatar'],
            'profile_url' => 'https://bitbucket.org/' . $raw['user']['username'],
        ];
        return $user_info;
    }

Inherited methods

from yf_oauth_driver2: _decode_result(), _storage_clean(), _storage_get(), _storage_set(), login()

from yf_oauth_driver1: _do_sign_request(), _encode(), _get_oauth_header(), _hmac_sha1(), authenticate(), authorize(), get_access_token(), get_user_info()