Net::Google::AuthSub::Response
a response from a Net::Google::AuthSub request
- Provided by: libnet-google-authsub-perl (Version: 0.5-4)
- Report a bug
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
The url of a page describing the error.
The token required to authenticate a captcha.
The full url of the captcha image.