Protected Attributes |
| $jsArguments = array('popup' => array('width' => 900, 'height' => 620)) |
| $requiredAttributes |
Protected Attributes inherited from YandexOpenIDService |
| $name = 'yandex' |
| $title = 'Yandex' |
| $type = 'OpenID' |
| $jsArguments = array('popup' => array('width' => 900, 'height' => 550)) |
| $url = 'http://openid.yandex.ru/' |
| $requiredAttributes |
| $url |
| $requiredAttributes = array() |
| $name |
| $title |
| $type |
| $jsArguments = array() |
| $attributes = array() |
| $authenticated = false |
Additional Inherited Members |
| init ($component, $options=array()) |
| authenticate () |
Detailed Description
Member Function Documentation
CustomYandexService::fetchAttributes |
( |
| ) |
|
|
protected |
Fetch attributes array.
- Returns
- boolean whether the attributes was successfully fetched.
Reimplemented from YandexOpenIDService.
Definition at line 24 of file CustomYandexService.php.
{
if (isset($this->attributes['username']) && !empty($this->attributes['username']))
$this->attributes['url'] = 'http://openid.yandex.ru/'.$this->attributes['username'];
if (isset($this->attributes['birthDate']) && !empty($this->attributes['birthDate']))
$this->attributes['birthDate'] = strtotime($this->attributes['birthDate']);
}
Member Data Documentation
CustomYandexService::$requiredAttributes |
|
protected |
Initial value: array(
'name' => array('fullname', 'namePerson'),
'username' => array('nickname', 'namePerson/friendly'),
'email' => array('email', 'contact/email'),
'gender' => array('gender', 'person/gender'),
'birthDate' => array('dob', 'birthDate'),
)
Definition at line 16 of file CustomYandexService.php.
The documentation for this class was generated from the following file: