From 06f945f27840b53e57795dadbc38e76f7e11ab1c Mon Sep 17 00:00:00 2001 From: Horus3 Date: Mon, 24 Feb 2014 16:42:14 +0100 Subject: init --- .../api/core/files/Gdata.ClientLogin.html | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 zend/documentation/api/core/files/Gdata.ClientLogin.html (limited to 'zend/documentation/api/core/files/Gdata.ClientLogin.html') diff --git a/zend/documentation/api/core/files/Gdata.ClientLogin.html b/zend/documentation/api/core/files/Gdata.ClientLogin.html new file mode 100644 index 0000000..58b8f01 --- /dev/null +++ b/zend/documentation/api/core/files/Gdata.ClientLogin.html @@ -0,0 +1,51 @@ + +Zend Gdata API Documentation

Gdata/ClientLogin.php

+ Show: + PublicProtectedPrivateinherited
+ Table of Contents +
Zend Framework

LICENSE

+ +

This source file is subject to the new BSD license that is bundled +with this package in the file LICENSE.txt. +It is also available through the world-wide-web at this URL: +http://framework.zend.com/license/new-bsd +If you did not receive a copy of the license and are unable to +obtain it through the world-wide-web, please send an email +to license@zend.com so we can send you a copy immediately.

Category
Zend +   +
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) +   +
License
New BSD License +   +
Package
Zend_Gdata +   +
Subpackage
Gdata +   +
Version
$Id: ClientLogin.php 24593 2012-01-05 20:35:02Z matthew $ +   +

\Zend_Gdata_ClientLogin

Package: Zend\Gdata\Gdata
Class to facilitate Google's "Account Authentication +for Installed Applications" also known as "ClientLogin".
See
\global\http://code.google.com/apis/accounts/AuthForInstalledApps.html +   +
Category
Zend +   +
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) +   +
License
New BSD License +   +

Constants

>VConstant  + CLIENTLOGIN_URI + = 'https://www.google.com/accounts/ClientLogin'
The Google client login URI
>VConstant  + DEFAULT_SOURCE + = 'Zend-ZendFramework'
The default 'source' parameter to send to Google

Methods

methodpublicgetHttpClient(string $email, string $password, string $service = 'xapi', \Zend_Gdata_HttpClient $client = null, string $source = self::DEFAULT_SOURCE, string $loginToken = null, string $loginCaptcha = null,  $loginUri = self::CLIENTLOGIN_URI, string $accountType = 'HOSTED_OR_GOOGLE') : \Zend_Gdata_HttpClient
static

Set Google authentication credentials.

Must be done before trying to do any Google Data operations that +require authentication. +For example, viewing private data, or posting or deleting entries.

Parameters
NameTypeDescription
$emailstring
$passwordstring
$servicestring
$client\Zend_Gdata_HttpClient
$sourcestring
$loginTokenstring

The token identifier as provided by the server.

$loginCaptchastring

The user's response to the CAPTCHA challenge.

+
$loginUri
$accountTypestring

An optional string to identify whether the +account to be authenticated is a google or a hosted account. Defaults to +'HOSTED_OR_GOOGLE'. See: http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html#Request

+
Returns
TypeDescription
\Zend_Gdata_HttpClient
Throws
ExceptionDescription
\Zend_Gdata_App_AuthException
\Zend_Gdata_App_HttpException
\Zend_Gdata_App_CaptchaRequiredException
+ Documentation was generated by + phpDocumentor + 2.0.0a12. + -- cgit v1.2.3