The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::YouTube::Authenticate - Login handler for Google services

VERSION

Version 0.01

SYNOPSIS

WWW::YouTube::Authenticate handles the login procedures for Google services.

This module is a base class for WWW::YouTube::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
  ----------------------------  -------
  YouTube data API              youtube
  Default Service               youtube

Defaults to youtube.

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

Eric R. Meyers, <Eric.R.Meyers@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=WWW-YouTube-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 WWW::YouTube::Authenticate

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Eric R. Meyers <Eric.R.Meyers@gmail.com>, all rights reserved.

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