GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Google::AuthSub::Response(3) User Contributed Perl Documentation Net::Google::AuthSub::Response(3)
 

Net::Google::AuthSub::Response - a response from a Net::Google::AuthSub request

    my $response = $auth->login($user, $pass);
    
    if ($response->is_success) {
        print "Yay!\n";
    } else {
        if ($response->error eq 'CaptchaRequired') {
            print "Captcha Image ".$response->captchaurl;
        }
    }

Create a new response.

Returns whether the response was a sucess or not.

Methods available if the response was a success.

The authorisation token if the response is a success.

Not used yet.

Not used yet.

Methods available if the response was an error.

The error code. Can be one of
BadAuthentication
The login request used a username or password that is not recognized.
NotVerified
The account email address has not been verified. The user will need to access their Google account directly to resolve the issue before logging in using a non-Google application.
TermsNotAgreed
The user has not agreed to terms. The user will need to access their Google account directly to resolve the issue before logging in using a non-Google application.
CaptchaRequired
A CAPTCHA is required. (A response with this error code will also contain an image URL and a CAPTCHA token.)
Unknown
The error is unknown or unspecified; the request contained invalid input or was malformed.
AccountDeleted
The user account has been deleted.
AccountDisabled
The user account has been disabled.
ServiceDisabled
The user's access to the specified service has been disabled. (The user account may still be valid.)
ServiceUnavailable
The service is not available; try again later.

The url of a page describing the error.

The token required to authenticate a captcha.

The full url of the captcha image.
2009-05-09 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.