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

Protected Member Functions

 fetchAttributes ()

Protected Attributes

 $requiredAttributes
- Protected Attributes inherited from GoogleOpenIDService
 $name = 'google'
 $title = 'Google'
 $type = 'OpenID'
 $jsArguments = array('popup' => array('width' => 880, 'height' => 520))
 $url = 'https://www.google.com/accounts/o8/id'
 $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

An example of extending the provider class.

Author
Maxim Zemskov nodge.nosp@m.@yan.nosp@m.dex.r.nosp@m.u http://www.opensource.org/licenses/bsd-license.php

Definition at line 12 of file CustomGoogleService.php.

Member Function Documentation

CustomGoogleService::fetchAttributes ( )
protected

Fetch attributes array.

Returns
boolean whether the attributes was successfully fetched.

Reimplemented from EAuthServiceBase.

Definition at line 23 of file CustomGoogleService.php.

{
$this->attributes['fullname'] = $this->attributes['name'].' '.$this->attributes['lastname'];
}

Member Data Documentation

CustomGoogleService::$requiredAttributes
protected
Initial value:
array(
'name' => array('firstname', 'namePerson/first'),
'lastname' => array('lastname', 'namePerson/last'),
'email' => array('email', 'contact/email'),
'language' => array('language', 'pref/language'),
)

Definition at line 16 of file CustomGoogleService.php.


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