Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Protected Member Functions | Protected Attributes | List of all members
YandexOpenIDService Class Reference
Inheritance diagram for YandexOpenIDService:
EOpenIDService EAuthServiceBase IAuthService IAuthService CustomYandexService

Protected Member Functions

 fetchAttributes ()

Protected Attributes

 $name = 'yandex'
 $title = 'Yandex'
 $type = 'OpenID'
 $jsArguments = array('popup' => array('width' => 900, 'height' => 550))
 $url = 'http://openid.yandex.ru/'
 $requiredAttributes
- Protected Attributes inherited from EOpenIDService
 $url
 $requiredAttributes = array()
- Protected Attributes inherited from EAuthServiceBase
 $name
 $title
 $type
 $jsArguments = array()
 $attributes = array()
 $authenticated = false

Additional Inherited Members

- Public Member Functions inherited from EOpenIDService
 init ($component, $options=array())
 authenticate ()

Detailed Description

Definition at line 16 of file YandexOpenIDService.php.

Member Function Documentation

YandexOpenIDService::fetchAttributes ( )
protected

Fetch attributes array.

Returns
boolean whether the attributes was successfully fetched.

Reimplemented from EAuthServiceBase.

Reimplemented in CustomYandexService.

Definition at line 32 of file YandexOpenIDService.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

YandexOpenIDService::$requiredAttributes
protected
Initial value:
array(
'name' => array('fullname', 'namePerson'),
)

Definition at line 24 of file YandexOpenIDService.php.


The documentation for this class was generated from the following file: