Net::Google::Authenticate - Login handler for Google services


Net-Google-GData documentation  | view source Contained in the Net-Google-GData distribution.

Index


NAME

Top

Net::Google::Authenticate - Login handler for Google services

VERSION

Top

Version 0.01

SYNOPSIS

Top

Net::Google::Authenticate handles the login procedures for Google services.

This module is a base class for Net::Google::GData. Unless you want to write your own GData module, or equivalent, you're not going to be using this module.

FUNCTIONS

Top

accountType (required)

Valid values are HOSTED, GOOGLE or HOSTED_OR_GOOGLE.

Defaults to HOSTED_OR_GOOGLE.

Email (required)

Email address used as the login for the requested service.

Passwd (required)

Password used for the Email login for the requested service.

service (required)

Must be a valid service code, but only carps when it doesn't recognize a code to allow for new services to be added.

Check the documentation for the service you're writing code for. Also, http://code.google.com/support/bin/answer.py?answer=62712&topic=10433 has a list of service codes.

Currently known codes are as follows:

  Service                       Code
  ----------------------------  -------
  Calendar data API	        cl
  Blogger data API	        blogger
  Google Base data API	        gbase
  Spreadsheets data API	        wise
  Google Apps Provisioning API	apps
  Picasa Web Albums Data API	lh2
  Default Service               xapi

Defaults to xapi.

login

Login to the google services page.

PRIVATE FUNCTIONS

Top

_error_code

Takes an error code returned from Google and returns the explanatory text found at http://code.google.com/apis/accounts/AuthForInstalledApps.html#Errors.

AUTHOR

Top

Alan Young, <alansyoungiii at gmail.com>

BUGS

Top

Please report any bugs or feature requests to bug-net-google-gdata at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Google-Authenticate. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Net::Google::Authenticate

You can also look for information at:

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Net-Google-Authenticate

* CPAN Ratings

http://cpanratings.perl.org/d/Net-Google-GData

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-Google-GData

* Search CPAN

http://search.cpan.org/dist/Net-Google-GData

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Net-Google-GData documentation  | view source Contained in the Net-Google-GData distribution.