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


NAME

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

Back to Top


VERSION

Version 0.01

Back to Top


SYNOPSIS

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.

Back to Top


FUNCTIONS

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 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.

Back to Top


PRIVATE FUNCTIONS

_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.

Back to Top


AUTHOR

Alan Young, <alansyoungiii at gmail.com>

Back to Top


BUGS

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. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

Back to Top


SUPPORT

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

    perldoc Net::Google::Authenticate

You can also look for information at:

Back to Top


ACKNOWLEDGEMENTS

Back to Top


COPYRIGHT & LICENSE

Copyright 2007 Alan Young, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Back to Top

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