Alan Young > Net-Google-GData-0.01 > Net::Google::Authenticate

Download:
Net-Google-GData-0.01.tgz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.01   Source   Latest Release: Net-Google-GData-0.03

NAME ^

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

VERSION ^

Version 0.01

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.

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?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 ^

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

Alan Young, <alansyoungiii at gmail.com>

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?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 ^

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

    perldoc Net::Google::Authenticate

You can also look for information at:

ACKNOWLEDGEMENTS ^

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.

syntax highlighting: