| Net::Google::AuthSub::Response(3pm) | User Contributed Perl Documentation | Net::Google::AuthSub::Response(3pm) |
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
The url of a page describing the error.
The token required to authenticate a captcha.
The full url of the captcha image.
| 2022-10-13 | perl v5.36.0 |